Updating failure printing
This commit is contained in:
parent
5499fc6b47
commit
d742350bfd
|
@ -114,9 +114,9 @@ def main():
|
||||||
for kv in args.settings:
|
for kv in args.settings:
|
||||||
path, value = kv.split("=", 1)
|
path, value = kv.split("=", 1)
|
||||||
code, response = await interface.command(path, json.loads(value))
|
code, response = await interface.command(path, json.loads(value))
|
||||||
|
print(response)
|
||||||
if code != 0:
|
if code != 0:
|
||||||
failures += 1
|
failures += 1
|
||||||
logging.warning('%s update failed!', path)
|
|
||||||
|
|
||||||
return failures
|
return failures
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue