diff --git a/lib/jekyll/migrators/wordpressdotcom.rb b/lib/jekyll/migrators/wordpressdotcom.rb index 85762f89..0fc8b902 100644 --- a/lib/jekyll/migrators/wordpressdotcom.rb +++ b/lib/jekyll/migrators/wordpressdotcom.rb @@ -59,10 +59,11 @@ module Jekyll f.puts '---' f.puts item.at('content:encoded').inner_text end - rescue + rescue => e puts "Couldn't import post!" puts "Title: #{title}" puts "Name/Slug: #{name}\n" + puts "Error: #{e.message}" next end