Skip to content

Commit 6b96b80

Browse files
authored
fix(cargo-codspeed): display run bench command error (#45)
1 parent 65aab70 commit 6b96b80

File tree

1 file changed

+1
-1
lines changed
  • crates/cargo-codspeed/src

1 file changed

+1
-1
lines changed

crates/cargo-codspeed/src/run.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ pub fn run_benches(
9595
.env("CODSPEED_CARGO_WORKSPACE_ROOT", workspace_root.as_ref())
9696
.current_dir(&bench.working_directory)
9797
.status()
98-
.map_err(|_| anyhow!("failed to execute the benchmark process"))
98+
.map_err(|e| anyhow!("failed to execute the benchmark process: {}", e))
9999
.and_then(|status| {
100100
if status.success() {
101101
Ok(())

0 commit comments

Comments
 (0)