mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Merge pull request #1013 from blackle/master
Catch more errors in process_follows so it doesn't fail
This commit is contained in:
commit
a9c0062e80
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user