We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3f3798 commit b647a3fCopy full SHA for b647a3f
1 file changed
src/run/runner/wall_time/executor.rs
@@ -73,10 +73,12 @@ impl Executor for WallTimeExecutor {
73
run_command_with_log_pipe(cmd).await
74
};
75
76
- if let Err(error) =
77
- status.map_err(|e| anyhow!("failed to execute the benchmark process. {}", e))
78
- {
79
- bail!("failed to execute the benchmark process: {}", error);
+ let status =
+ status.map_err(|e| anyhow!("failed to execute the benchmark process. {}", e))?;
+ debug!("cmd exit status: {:?}", status);
+
80
+ if !status.success() {
81
+ bail!("failed to execute the benchmark process: {}", status);
82
}
83
84
Ok(())
0 commit comments