Skip to content

Commit

Permalink
fix(cargo-codspeed): display run bench command error (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencaccia authored Sep 5, 2024
1 parent 65aab70 commit 6b96b80
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 6b96b80

Please sign in to comment.