We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb95f00 commit d9bb3abCopy full SHA for d9bb3ab
src/build_helper/src/git.rs
@@ -18,9 +18,10 @@ pub fn output_result(cmd: &mut Command) -> Result<String, String> {
18
if !output.status.success() {
19
return Err(format!(
20
"command did not execute successfully: {:?}\n\
21
- expected success, got: {}\n{}",
+ expected success, got: {}\n{}\n{}",
22
cmd,
23
output.status,
24
+ String::from_utf8(output.stdout).map_err(|err| format!("{err:?}"))?,
25
String::from_utf8(output.stderr).map_err(|err| format!("{err:?}"))?
26
));
27
}
0 commit comments