5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 19:36:22 +00:00

fix: capturar la excepción #10546

This commit is contained in:
f 2023-03-20 12:13:51 -03:00
parent b297800933
commit 16ed7db1d7

View file

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