about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-18 13:42:24 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-18 13:42:24 +0200
commit9863196f7bf007aedf5f832a20dcd6f519dbf383 (patch)
tree2d3dad50c2be49fca189cac1e8d37c93f9059675 /app/services
parentaf375b5bacf80c0a45b3c9bbebf820db24936d1f (diff)
Small rubocop offences removed
Diffstat (limited to 'app/services')
-rw-r--r--app/services/process_mentions_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/process_mentions_service.rb b/app/services/process_mentions_service.rb
index 04171cecb..5ea184252 100644
--- a/app/services/process_mentions_service.rb
+++ b/app/services/process_mentions_service.rb
@@ -14,6 +14,7 @@ class ProcessMentionsService < BaseService
         begin
           mentioned_account = follow_remote_account_service.("#{match.first}")
         rescue Goldfinger::Error, HTTP::Error
+          mentioned_account = nil
         end
       end