Skip to content

Commit 70c1903

Browse files
committed
Improve error when CI artifacts are not found
1 parent a4f5ad4 commit 70c1903

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

collector/src/bin/collector.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,9 +1722,10 @@ async fn run_benchmark_job(
17221722
Ok(sysroot) => sysroot,
17231723
Err(SysrootDownloadError::SysrootShaNotFound) => {
17241724
return Err(BenchmarkJobError::Permanent(anyhow::anyhow!(
1725-
"Artifacts for SHA {} and target {} were not found on CI servers",
1725+
"Artifacts for SHA `{}`, target `{}` and backend `{}` were not found on CI servers",
17261726
commit.sha,
1727-
job.target().as_str()
1727+
job.target().as_str(),
1728+
job.backend().as_str()
17281729
)))
17291730
}
17301731
Err(SysrootDownloadError::IO(error)) => return Err(error.into()),

0 commit comments

Comments
 (0)