From da92f35e08e7da1182bdf4c52b0b843808bbbc82 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 9 May 2017 14:44:53 -0400 Subject: [PATCH] Don't log a gravatar failure that is a socket error --- app/models/user_avatar.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/user_avatar.rb b/app/models/user_avatar.rb index 641c148b8e8..685cfc5cef6 100644 --- a/app/models/user_avatar.rb +++ b/app/models/user_avatar.rb @@ -31,7 +31,6 @@ class UserAvatar < ActiveRecord::Base save! rescue SocketError # skip saving, we are not connected to the net - Rails.logger.warn "Failed to download gravatar, socket error - user id #{user_id}" ensure tempfile.try(:close!) end