mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
yay print debugging
This commit is contained in:
parent
c784e26287
commit
f600a4e154
1 changed files with 2 additions and 0 deletions
|
|
@ -100,10 +100,12 @@ def _build_snap(
|
|||
f'exit code {exit_code}.', flush=True)
|
||||
|
||||
failed_archs = [arch for arch in archs if status[target][arch] != 'Successfully built']
|
||||
print('failed_archs is', failed_archs)
|
||||
# If the command failed or any architecture wasn't built
|
||||
# successfully, let's try to print all the output about the problem
|
||||
# that we can.
|
||||
dump_output = exit_code != 0 or failed_archs
|
||||
print('dump_output is', dump_output)
|
||||
if exit_code == 0 and not failed_archs:
|
||||
# We expect to have all target snaps available, or something bad happened.
|
||||
snaps_list = glob.glob(join(workspace, '*.snap'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue