about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorblackle <isabelle@blackle-mori.com>2017-04-05 20:04:13 -0400
committerblackle <isabelle@blackle-mori.com>2017-04-05 20:04:13 -0400
commit540d6efe88717b0da4a23b5069a3caaff5b3241a (patch)
tree68953e566197fa43047b10b0f88db1e24bfee6e3 /app
parentdea6e47de07fa027c0f754d876bbfca758f86305 (diff)
Catch more errors in process_follows so it doesn't fail
Diffstat (limited to 'app')
-rw-r--r--app/workers/import_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/import_worker.rb b/app/workers/import_worker.rb
index 7cf29fb53..d5a33cada 100644
--- a/app/workers/import_worker.rb
+++ b/app/workers/import_worker.rb
@@ -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