5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 08:06:23 +00:00

fix: notificar correctamente la excepción #15608

This commit is contained in:
f 2024-03-15 17:57:21 -03:00
parent fcbff3e1c1
commit 364b63a075
No known key found for this signature in database

View file

@ -13,7 +13,7 @@ class ActivityPub
def update_activity_pub_state! def update_activity_pub_state!
activity_pub.approve! activity_pub.approve!
rescue Exception => e rescue Exception => e
ExceptionNotifier.notify_exception(e, { site: activity_pub.site.name, activity: self.id }) ExceptionNotifier.notify_exception(e, data: { site: activity_pub.site.name, activity: self.id })
end end
end end
end end