Removing debugging command output.

This commit is contained in:
Dan Helfman 2023-03-26 21:26:35 -07:00
parent f56fdab7a9
commit acbbd6670a
1 changed files with 0 additions and 2 deletions

View File

@ -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