Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Send stderror in error message when command fails (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
thegreyd committed Dec 5, 2022
1 parent 2f9162a commit 09fb720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doozerlib/exectools.py
Expand Up @@ -112,8 +112,8 @@ def cmd_assert(cmd, realtime=False, retries=1, pollrate=60, on_retry=None,

assertion.success(
result,
"Error running [{}] {}. See debug log.".
format(pushd.Dir.getcwd(), cmd))
"Error running [{}] {}: {} See debug log for more details.".
format(pushd.Dir.getcwd(), cmd, stderr))

return stdout, stderr

Expand Down

0 comments on commit 09fb720

Please sign in to comment.