Skip to content

Commit eb000c4

Browse files
author
Vladimir Kotal
committed
use human readable output
1 parent 6b85c65 commit eb000c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/sync/hook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ def run_hook(logger, script, path):
4040
cmd.execute()
4141
if cmd.state is not "finished" or cmd.getretcode() != 0:
4242
logger.error("failed to execute {}".format(cmd))
43-
logger.debug(cmd.getoutput())
43+
logger.error(cmd.getoutputstr())
4444
return 1
4545

46-
logger.info(cmd.getoutput())
46+
logger.info(cmd.getoutputstr())
4747

4848
return 0

0 commit comments

Comments
 (0)