Fix displaying errors
This commit is contained in:
parent
7bfbcfe63c
commit
9f24acca6b
1 changed files with 3 additions and 1 deletions
|
@ -115,8 +115,10 @@ else:
|
||||||
if UPDATE_AVAILABLE:
|
if UPDATE_AVAILABLE:
|
||||||
msg.append(f'{UPDATE_AVAILABLE} update available')
|
msg.append(f'{UPDATE_AVAILABLE} update available')
|
||||||
print(f'WARNING - {", ".join(msg)}')
|
print(f'WARNING - {", ".join(msg)}')
|
||||||
|
print("\n".join([f'- {error}' for error in errors]))
|
||||||
EXIT_STATUS = STATUS['WARNING']
|
EXIT_STATUS = STATUS['WARNING']
|
||||||
print("\n".join([
|
|
||||||
|
print("\nDevices:\n" + "\n".join([
|
||||||
(
|
(
|
||||||
f'- {name} (version = {dev["deployed_version"]}, '
|
f'- {name} (version = {dev["deployed_version"]}, '
|
||||||
f'address = {dev["address"]})'
|
f'address = {dev["address"]})'
|
||||||
|
|
Loading…
Reference in a new issue