mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-21 11:21:50 +00:00
fix: capturar la excepción #10546
This commit is contained in:
parent
f5274cf342
commit
ecd8c80e02
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,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