Catch more errors in process_follows so it doesn't fail

lolsob-rspec
blackle 2017-04-05 20:04:13 -04:00
parent 1e33e5c67f
commit 70f485a9e7
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class ImportWorker
begin begin
FollowService.new.call(from_account, row[0]) 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 next
end end
end end