2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

let's not generate an error when logging errors...

This commit is contained in:
Régis Hanol 2017-10-18 23:14:13 +02:00 committed by GitHub
parent f50d447881
commit c838f43a75

View file

@ -66,7 +66,7 @@ module Jobs
if upload.persisted?
downloaded_urls[src] = upload.url
else
log(:info, "Failed to pull hotlinked image for post: #{post_id}: #{src} - #{upload.errors.join("\n")}")
log(:info, "Failed to pull hotlinked image for post: #{post_id}: #{src} - #{upload.errors.full_messages.join("\n")}")
end
else
large_images << original_src