about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-03-03 16:49:16 -0500
committerGitHub <noreply@github.com>2023-03-03 22:49:16 +0100
commitb00f945d92b6fff58c8a8ed702a9511ddb56a3da (patch)
treed8748e85fa6e49b33c83da25854dc0cf3f39b1bb
parentc65c34dfd11be9b307e9049fb58194c4cfa76a73 (diff)
Remove implied StandardError rescue (#23942)
-rw-r--r--app/workers/activitypub/migrated_follow_delivery_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/activitypub/migrated_follow_delivery_worker.rb b/app/workers/activitypub/migrated_follow_delivery_worker.rb
index 17a9e515e..daf30e0ae 100644
--- a/app/workers/activitypub/migrated_follow_delivery_worker.rb
+++ b/app/workers/activitypub/migrated_follow_delivery_worker.rb
@@ -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