Skip to content

Commit

Permalink
PVF: Add worker check during tests and benches (paritytech#1771)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnski committed Oct 24, 2023
1 parent 81ce102 commit f16c4a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion substrate/utils/build-script-utils/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ pub fn generate_cargo_keys() {
Cow::from(sha)
},
Ok(o) => {
println!("cargo:warning=Git command failed with status: {}", o.status);
let stderr = String::from_utf8_lossy(&o.stderr).trim().to_owned();
println!(
"cargo:warning=Git command failed with status '{}' with message: '{}'",
o.status, stderr,
);
Cow::from("unknown")
},
Err(err) => {
Expand Down

0 comments on commit f16c4a3

Please sign in to comment.