mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
no verbose logging for failed downloads of gravatars
This commit is contained in:
@@ -24,7 +24,8 @@ class UserAvatar < ActiveRecord::Base
|
||||
gravatar_url,
|
||||
max_file_size: SiteSetting.max_image_size_kb.kilobytes,
|
||||
tmp_file_name: "gravatar",
|
||||
skip_rate_limit: true
|
||||
skip_rate_limit: true,
|
||||
verbose: false
|
||||
)
|
||||
if tempfile
|
||||
upload = UploadCreator.new(tempfile, 'gravatar.png', origin: gravatar_url, type: "avatar").create_for(user_id)
|
||||
|
||||
Reference in New Issue
Block a user