mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 07:13:44 +08:00
let's not generate an error when logging errors...
This commit is contained in:
parent
f50d447881
commit
c838f43a75
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user