mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 21:03:52 +08:00
DEV: Print the error class in uploads:list_posts_with_broken_images
.
This commit is contained in:
parent
dffd4fa9e6
commit
0811379ab3
|
@ -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