Skip to content

Commit

Permalink
Merge pull request mastodon#1013 from blackle/master
Browse files Browse the repository at this point in the history
Catch more errors in process_follows so it doesn't fail
  • Loading branch information
Gargron authored Apr 6, 2017
2 parents dbd5291 + 540d6ef commit a9c0062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/import_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def process_follows(import)

begin
FollowService.new.call(from_account, row[0])
rescue Goldfinger::Error, HTTP::Error, OpenSSL::SSL::SSLError
rescue Mastodon::NotPermittedError, ActiveRecord::RecordNotFound, Goldfinger::Error, HTTP::Error, OpenSSL::SSL::SSLError
next
end
end
Expand Down

0 comments on commit a9c0062

Please sign in to comment.