diff --git a/app/models/user_avatar.rb b/app/models/user_avatar.rb index 685cfc5cef6..837f3ebc790 100644 --- a/app/models/user_avatar.rb +++ b/app/models/user_avatar.rb @@ -81,7 +81,7 @@ class UserAvatar < ActiveRecord::Base end end - rescue + rescue Net::ReadTimeout # skip saving, we are not connected to the net ensure tempfile.close! if tempfile && tempfile.respond_to?(:close!)