diff options
Diffstat (limited to 'app/services/process_feed_service.rb')
-rw-r--r-- | app/services/process_feed_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb index ba7558e1f..e0b857482 100644 --- a/app/services/process_feed_service.rb +++ b/app/services/process_feed_service.rb @@ -127,10 +127,11 @@ class ProcessFeedService < BaseService if account.nil? account = follow_remote_account_service.("#{username}@#{domain}", false) - return nil if account.nil? end Status.new(account: account, uri: target_id(xml), text: target_content(xml), url: target_url(xml)) + rescue Goldfinger::Error, HTTP::Error + nil end def published(xml) |