mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 21:26:21 +00:00
fix: capturar la excepción #10546
This commit is contained in:
parent
b297800933
commit
16ed7db1d7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue