mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 02:52:44 +08:00
change log level to info when failing to download a hotlinked image
This commit is contained in:
parent
e0285bc20e
commit
a6dff79c2c
|
@ -58,7 +58,7 @@ module Jobs
|
||||||
log(:info, "Failed to pull hotlinked image for post: #{post_id}: #{src} - Image is bigger than #{@max_size}")
|
log(:info, "Failed to pull hotlinked image for post: #{post_id}: #{src} - Image is bigger than #{@max_size}")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
log(:error, "There was an error while downloading '#{src}' locally for post: #{post_id}")
|
log(:info, "There was an error while downloading '#{src}' locally for post: #{post_id}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
# have we successfully downloaded that file?
|
# have we successfully downloaded that file?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user