mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 04:46:21 +00:00
fix: reportar errores de ssh una sola vez
closes #14339 closes #14561 closes #14662 closes #15845 closes #15846 closes #15847 closes #15848 closes #15849 closes #15855 closes #15856 closes #15857 closes #15858 closes #15859 closes #15860 closes #15861 closes #15862 closes #15863 closes #15864 closes #15865 closes #15866 closes #15867 closes #15868 closes #15869 closes #15870 closes #15871
This commit is contained in:
parent
453798dcc7
commit
c9ef117138
1 changed files with 10 additions and 2 deletions
|
@ -8,4 +8,12 @@ class GitPushJob < ApplicationJob
|
||||||
def perform(site)
|
def perform(site)
|
||||||
site.repository.push if site.repository.origin
|
site.repository.push if site.repository.origin
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Reportar una sola vez para que podamos resolver el problema, pero
|
||||||
|
# reportarlo igual.
|
||||||
|
#
|
||||||
|
# @return [Bool]
|
||||||
|
def handle_error(error)
|
||||||
|
expire
|
||||||
|
end
|
||||||
end
|
end
|
Loading…
Reference in a new issue