DEV: Print the error class in uploads:list_posts_with_broken_images.

This commit is contained in:
Guo Xiang Tan 2018-09-12 01:06:51 -07:00
parent 45146818d7
commit ec0dccf438

View File

@ -764,7 +764,7 @@ def list_broken_posts(recover_from_s3: false)
end
end
rescue => e
puts "#{post.full_url} Error: #{e.message}"
puts "#{post.full_url} Error: #{e.class}: #{e.message}"
end
end
end