mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 20:26:22 +00:00
fix: notificar correctamente la excepción #15608
This commit is contained in:
parent
fcbff3e1c1
commit
364b63a075
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue