5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 14:31:42 +00:00

fix: capturar la excepción #10546

This commit is contained in:
f 2023-03-20 12:13:51 -03:00
parent f5274cf342
commit ecd8c80e02

View file

@ -120,7 +120,7 @@ class DeployDistributedPress < Deploy
self.remote_site_id = created_site[:id]
self.remote_info = created_site.to_h
rescue DistributedPress::V1::Error
rescue DistributedPress::V1::Error => e
ExceptionNotifier.notify_exception(e, data: { site: site.name })
ensure
nil