We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30116a2 commit e78eda4Copy full SHA for e78eda4
1 file changed
llvm_buildbot_monitor/src/greendragon.rs
@@ -147,13 +147,13 @@ async fn find_first_failing_build(
147
match fetch_completed_build(client, bot_name, build_number).await {
148
Err(x) => {
149
let root_cause = x.root_cause();
150
- if let Some(x) = root_cause.downcast_ref::<reqwest::Error>() {
151
- if x.status() == Some(reqwest::StatusCode::NOT_FOUND) {
152
- info!(
153
- "Finding first failing build for {bot_name:?} 404'ed on {build_number}; trying another..."
154
- );
155
- continue;
156
- }
+ 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;
157
}
158
return Err(x);
159
0 commit comments