5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 06:31:44 +00:00

Merge branch 'issue-14555' into 'rails'

fix: notificar cuando falla la última compilación #14555

See merge request sutty/sutty!225
This commit is contained in:
fauno 2023-11-21 13:36:46 +00:00
commit 63b2351c07

View file

@ -56,6 +56,10 @@ class DeployJob < ApplicationJob
rescue URI::Error
nil
end.compact
if d == @site.deployment_list.last && !status
raise DeployException, 'Falló la compilación'
end
rescue StandardError => e
status = false
seconds ||= 0