Updating failure printing

This commit is contained in:
Ryan Summers 2021-04-29 12:12:46 +02:00
parent 5499fc6b47
commit d742350bfd
1 changed files with 1 additions and 1 deletions

View File

@ -114,9 +114,9 @@ def main():
for kv in args.settings:
path, value = kv.split("=", 1)
code, response = await interface.command(path, json.loads(value))
print(response)
if code != 0:
failures += 1
logging.warning('%s update failed!', path)
return failures