Skip to content

Commit 796ad11

Browse files
authored
Merge pull request #136 from RedisLabs/nick/make-log-collector-failures-non-fatal
make log_collector - esp. on windows - more tolerant of errors
2 parents a24d02d + 1ade2f4 commit 796ad11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log_collector/log_collector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def run_shell_command_regular(args):
456456
except subprocess.CalledProcessError as ex:
457457
logger.warning("Failed in shell command: %s, output: %s",
458458
args, ex.output)
459-
return ex.returncode, ex.output
459+
return ex.returncode, native_string(ex.output)
460460

461461
return 0, native_string(output)
462462

0 commit comments

Comments
 (0)