Skip to content

Commit

Permalink
make log_collector - esp. on windows - more tolerant of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Terner committed Aug 31, 2020
1 parent a24d02d commit 1ade2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log_collector/log_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def run_shell_command_regular(args):
except subprocess.CalledProcessError as ex:
logger.warning("Failed in shell command: %s, output: %s",
args, ex.output)
return ex.returncode, ex.output
return ex.returncode, native_string(ex.output)

return 0, native_string(output)

Expand Down

0 comments on commit 1ade2f4

Please sign in to comment.