Fix: リモートから来たスタンプの保存に失敗した時、Sidekiqジョブが再試行される問題 (#257)

This commit is contained in:
KMY(雪あすか) 2023-11-08 13:32:20 +09:00 committed by GitHub
parent e5e46cb544
commit e7390317f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ class ActivityPub::Activity::Like < ActivityPub::Activity
forward_for_emoji_reaction
relay_for_emoji_reaction
end
rescue Seahorse::Client::NetworkingError
rescue Seahorse::Client::NetworkingError, ActiveRecord::RecordInvalid
nil
end