mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 10:56:22 +00:00
Merge branch 'issue-10031' into informative-deploys
This commit is contained in:
commit
6992d16ab0
1 changed files with 4 additions and 2 deletions
|
@ -40,12 +40,14 @@ class DeployJob < ApplicationJob
|
|||
# No es opcional
|
||||
unless @deployed[:deploy_local][:status]
|
||||
# Hacer fallar la tarea
|
||||
raise DeployException, 'Falló la compilación'
|
||||
raise DeployException, "#{@site.name}: Falló la compilación"
|
||||
end
|
||||
|
||||
deploy_others
|
||||
rescue DeployException => e
|
||||
rescue DeployTimedOutException => e
|
||||
notify_exception e
|
||||
rescue DeployException => e
|
||||
notify_exception e, deploy_local
|
||||
ensure
|
||||
@site&.update status: 'waiting'
|
||||
|
||||
|
|
Loading…
Reference in a new issue