mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 22:31:42 +00:00
Merge branch 'issue-13628' into 'rails'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: generar un registro cuando falla distributed press #13628 See merge request sutty/sutty!194
This commit is contained in:
commit
96c4be20d6
1 changed files with 6 additions and 1 deletions
|
@ -52,7 +52,12 @@ class DeployDistributedPress < Deploy
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
status = c.publish(publishing_site, deploy_local.destination)
|
begin
|
||||||
|
status = c.publish(publishing_site, deploy_local.destination)
|
||||||
|
rescue DistributedPress::V1::Error => e
|
||||||
|
ExceptionNotifier.notify_exception(e, data: { site: site.name })
|
||||||
|
status = false
|
||||||
|
end
|
||||||
|
|
||||||
if status
|
if status
|
||||||
self.remote_info[:distributed_press] = c.show(publishing_site).to_h
|
self.remote_info[:distributed_press] = c.show(publishing_site).to_h
|
||||||
|
|
Loading…
Reference in a new issue