Skip to content

Commit

Permalink
fix(cargo-codspeed): display run bench command error
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencaccia committed Sep 3, 2024
1 parent f91abc7 commit 404a20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cargo-codspeed/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub fn run_benches(
.env("CODSPEED_CARGO_WORKSPACE_ROOT", workspace_root.as_ref())
.current_dir(&bench.working_directory)
.status()
.map_err(|_| anyhow!("failed to execute the benchmark process"))
.map_err(|e| anyhow!("failed to execute the benchmark process: {}", e))
.and_then(|status| {
if status.success() {
Ok(())
Expand Down

0 comments on commit 404a20a

Please sign in to comment.