mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
Troubleshoot
This commit is contained in:
parent
b799cffa84
commit
6091bac71b
1 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,8 @@ def _build_snap(target, archs, status):
|
|||
retry = 3
|
||||
while retry:
|
||||
exit_code = _execute_build(target, archs, status, workspace)
|
||||
print(f'Build {target} for {"".join(archs)} (attempt {4-retry}/3) ended with exit code {exit_code}.')
|
||||
sys.stdout.flush()
|
||||
# Do not retry if the snapcraft remote-build command has not been interrupted.
|
||||
if exit_code == 0:
|
||||
break
|
||||
|
|
|
|||
Loading…
Reference in a new issue