diff --git a/src/pipeline.rs b/src/pipeline.rs index 6478e8a..a32d1ec 100644 --- a/src/pipeline.rs +++ b/src/pipeline.rs @@ -518,12 +518,12 @@ impl Pipeline { let detected_tools = state.cmf.detected_tools.lock().unwrap().clone(); let (decision, route_source, final_candidates) = match self.resolve(&req, &live, &detected_tools).await { - Ok(t) => t, - Err(e) => { - record_error(state, &account, &protocol, &directive, started, &e); - return Err(e); - } - }; + Ok(t) => t, + Err(e) => { + record_error(state, &account, &protocol, &directive, started, &e); + return Err(e); + } + }; let mut last_err = None; let mut attempt = 0usize;