mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 21:26:52 +00:00
Catch more errors in process_follows so it doesn't fail
This commit is contained in:
parent
dea6e47de0
commit
540d6efe88
|
@ -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 a new issue