Skip to content

Commit

Permalink
CRAYSAT-1980: fixed error output
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanholen-hpe committed Feb 18, 2025
1 parent efa220d commit 0317ef5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ def run_bootprep(self, bootprep_file: str, bootprep_opts: str = None,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
except subprocess.CalledProcessError as err:
logging.error(f"\nFailed to run command: {' '.join(err.cmd)}\n"
f"with error: \n{err.output.decode()}")
f"with error: \n{err.stderr.decode()}")
raise

return result
Expand Down

0 comments on commit 0317ef5

Please sign in to comment.