mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 07:26:22 +00:00
fix: informar la uri que falló #15712
This commit is contained in:
parent
dae0346f0d
commit
7c9e9758c5
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class ActivityPub
|
||||||
# Arreglar las relaciones con actividades también
|
# Arreglar las relaciones con actividades también
|
||||||
ActivityPub.where(object_id: object.id).update_all(object_type: object.type, updated_at: Time.now)
|
ActivityPub.where(object_id: object.id).update_all(object_type: object.type, updated_at: Time.now)
|
||||||
rescue FastJsonparser::ParseError => e
|
rescue FastJsonparser::ParseError => e
|
||||||
ExceptionNotifier.notify_exception(e, data: { site: site.name, body: response.body })
|
ExceptionNotifier.notify_exception(e, data: { site: site.name, object: object.uri, body: response.body })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue