Removing debugging command output.
This commit is contained in:
parent
f56fdab7a9
commit
acbbd6670a
1 changed files with 0 additions and 2 deletions
|
@ -235,12 +235,10 @@ def execute_command_and_capture_output(
|
|||
env=environment,
|
||||
cwd=working_directory,
|
||||
)
|
||||
logger.warning(f'Command output: {output}')
|
||||
except subprocess.CalledProcessError as error:
|
||||
if exit_code_indicates_error(command, error.returncode):
|
||||
raise
|
||||
output = error.output
|
||||
logger.warning(f'Command output: {output}')
|
||||
|
||||
return output.decode() if output is not None else None
|
||||
|
||||
|
|
Loading…
Reference in a new issue