mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-19 05:37:42 +00:00
Remove implied StandardError rescue (#23942)
This commit is contained in:
parent
c65c34dfd1
commit
b00f945d92
|
@ -11,7 +11,7 @@ class ActivityPub::MigratedFollowDeliveryWorker < ActivityPub::DeliveryWorker
|
||||||
def unfollow_old_account!(old_target_account_id)
|
def unfollow_old_account!(old_target_account_id)
|
||||||
old_target_account = Account.find(old_target_account_id)
|
old_target_account = Account.find(old_target_account_id)
|
||||||
UnfollowService.new.call(@source_account, old_target_account, skip_unmerge: true)
|
UnfollowService.new.call(@source_account, old_target_account, skip_unmerge: true)
|
||||||
rescue StandardError
|
rescue
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue