Skip to content

Commit 544a3ca

Browse files
authored
Merge pull request #1771 from Kobzol/benchmark-error-fix
Fix error code of benchmarks
2 parents b5095bf + ce7d67f commit 544a3ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/src/bin/collector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ fn run_benchmarks(
12311231
let end = start.elapsed();
12321232
rt.block_on(connection.record_duration(collector.artifact_row_id, end));
12331233

1234-
compile_result.or(runtime_result)
1234+
compile_result.and(runtime_result)
12351235
}
12361236

12371237
/// Perform benchmarks on a published artifact.

0 commit comments

Comments
 (0)