5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-02 06:34:16 +00:00

fix: informar errores de json

closes #15593
This commit is contained in:
f 2024-03-15 14:14:27 -03:00
parent 86ba17328d
commit 0fe043dd79
No known key found for this signature in database

View file

@ -31,6 +31,8 @@ class ActivityPub
# Arreglar las relaciones con actividades también
ActivityPub.where(object_id: object.id).update_all(object_type: object.type) unless current_type == object.type
rescue FastJsonparser::ParseError => e
ExceptionNotifier.notify_exception(e, data: { site: site.name, body: response.body })
end
end
end