show both stdout and stderr
This commit is contained in:
parent
b2c241c3d8
commit
6a185a7805
1 changed files with 3 additions and 2 deletions
|
|
@ -30,10 +30,11 @@ fn main() {
|
|||
|
||||
if !output.status.success() {
|
||||
panic!(
|
||||
"{} {} failed with output: {}",
|
||||
"{} {} failed. stderr: {}. stdout: {}",
|
||||
cmd,
|
||||
args.join(" "),
|
||||
String::from_utf8_lossy(&output.stderr)
|
||||
String::from_utf8_lossy(&output.stderr),
|
||||
String::from_utf8_lossy(&output.stdout)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue