mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
We don't need to log downloading avatars that are too large
This commit is contained in:
parent
da92f35e08
commit
71414f7ba2
@ -75,7 +75,6 @@ module ImportScripts::PhpBB3
|
||||
if avatar_file.size <= max_image_size_kb
|
||||
return avatar_file
|
||||
else
|
||||
Rails.logger.error("Failed to download remote avatar: #{url} - Image is larger than #{max_image_size_kb} KB")
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user