Browse Source

Remove implied StandardError rescue (#23942)

closed-social-glitch-2
Nick Schonning 1 year ago
committed by GitHub
parent
commit
b00f945d92
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/workers/activitypub/migrated_follow_delivery_worker.rb

+ 1
- 1
app/workers/activitypub/migrated_follow_delivery_worker.rb View File

@ -11,7 +11,7 @@ class ActivityPub::MigratedFollowDeliveryWorker < ActivityPub::DeliveryWorker
def unfollow_old_account!(old_target_account_id)
old_target_account = Account.find(old_target_account_id)
UnfollowService.new.call(@source_account, old_target_account, skip_unmerge: true)
rescue StandardError
rescue
true
end
end

Loading…
Cancel
Save