mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 20:36:39 +08:00
DEV: Print the error class in uploads:list_posts_with_broken_images
.
This commit is contained in:
parent
3884e99e88
commit
6d01e0aa04
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user