Printing error message in WP.com migrator. #671.

This commit is contained in:
Parker Moore 2013-01-17 22:33:37 -05:00
parent 3bca5c3297
commit 2615291e6d
1 changed files with 2 additions and 1 deletions

View File

@ -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