5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-18 20:26:22 +00:00

fix: siempre avisar cuando terminó el deploy en la consola

This commit is contained in:
f 2023-03-18 17:02:38 -03:00
parent 56cd3a4b20
commit cb145c2050

View file

@ -64,14 +64,14 @@ class DeployJob < ApplicationJob
t << ([type.to_s] + row.values)
end
end)
puts "\a"
rescue DeployTimedOutException => e
notify_exception e
ensure
@site&.update status: 'waiting'
notify_usuaries if notify
puts "\a" if @output
end
end
# rubocop:enable Metrics/MethodLength