5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 17:26:21 +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 d40c401a72
commit 54575b3bc3

View file

@ -66,14 +66,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