Browse Source

Catch more errors in process_follows so it doesn't fail

closed-social-glitch-2
blackle 7 years ago
parent
commit
540d6efe88
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/workers/import_worker.rb

+ 1
- 1
app/workers/import_worker.rb View File

@ -46,7 +46,7 @@ class ImportWorker
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

Loading…
Cancel
Save