Skip to content

Commit 08c0352

Browse files
authored
Merge pull request #1634 from Kobzol/published-benchmark-error
Notify website to refresh itself if published artifact has an error
2 parents 270f219 + 0bbb3ac commit 08c0352

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

collector/src/bin/collector.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -843,14 +843,16 @@ fn main_result() -> anyhow::Result<i32> {
843843
match next {
844844
NextArtifact::Release(tag) => {
845845
let toolchain = create_toolchain_from_published_version(&tag, &target_triple)?;
846-
bench_published_artifact(
846+
let res = bench_published_artifact(
847847
&toolchain,
848848
rt.block_on(pool.connection()),
849849
&mut rt,
850850
&benchmark_dirs,
851-
)?;
851+
);
852852

853853
client.post(format!("{}/perf/onpush", site_url)).send()?;
854+
855+
res?;
854856
}
855857
NextArtifact::Commit {
856858
commit,

0 commit comments

Comments
 (0)