Skip to content

Commit d9bb3ab

Browse files
committed
Verbose print build_helper stdout
1 parent fb95f00 commit d9bb3ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/build_helper/src/git.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ pub fn output_result(cmd: &mut Command) -> Result<String, String> {
1818
if !output.status.success() {
1919
return Err(format!(
2020
"command did not execute successfully: {:?}\n\
21-
expected success, got: {}\n{}",
21+
expected success, got: {}\n{}\n{}",
2222
cmd,
2323
output.status,
24+
String::from_utf8(output.stdout).map_err(|err| format!("{err:?}"))?,
2425
String::from_utf8(output.stderr).map_err(|err| format!("{err:?}"))?
2526
));
2627
}

0 commit comments

Comments
 (0)