Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions llvm_buildbot_monitor/src/greendragon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@ async fn find_first_failing_build(
match fetch_completed_build(client, bot_name, build_number).await {
Err(x) => {
let root_cause = x.root_cause();
if let Some(x) = root_cause.downcast_ref::<reqwest::Error>() {
if x.status() == Some(reqwest::StatusCode::NOT_FOUND) {
info!(
"Finding first failing build for {bot_name:?} 404'ed on {build_number}; trying another..."
);
continue;
}
if let Some(x) = root_cause.downcast_ref::<reqwest::Error>()
&& x.status() == Some(reqwest::StatusCode::NOT_FOUND)
{
info!(
"Finding first failing build for {bot_name:?} 404'ed on {build_number}; trying another..."
);
continue;
}
return Err(x);
}
Expand Down