mirror of
https://github.com/Noratrieb/does-it-build.git
synced 2026-01-15 02:45:02 +01:00
Surface broken nightly errors
This commit is contained in:
parent
cfef23bc31
commit
5ec24bbfaf
5 changed files with 103 additions and 37 deletions
|
|
@ -62,7 +62,7 @@ async fn background_builder_inner(db: &Db, nightly_cache: &mut NightlyCache) ->
|
|||
.wrap_err_with(|| format!("building targets for toolchain {nightly}"));
|
||||
if let Err(err) = result {
|
||||
error!(%nightly, %mode, ?err, "Failed to build nightly");
|
||||
db.finish_nightly_as_broken(&nightly, mode)
|
||||
db.finish_nightly_as_broken(&nightly, mode, &format!("{err:?}"))
|
||||
.await
|
||||
.wrap_err("marking nightly as broken")?;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue