5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-08 23:45:44 +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) t << ([type.to_s] + row.values)
end end
end) end)
puts "\a"
rescue DeployTimedOutException => e rescue DeployTimedOutException => e
notify_exception e notify_exception e
ensure ensure
@site&.update status: 'waiting' @site&.update status: 'waiting'
notify_usuaries if notify notify_usuaries if notify
puts "\a" if @output
end end
end end
# rubocop:enable Metrics/MethodLength # rubocop:enable Metrics/MethodLength