Replace unreachable!() with proper error in retry loop
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
c2eb9c53cb
commit
f387041aca
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ impl AutoAgent {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unreachable!()
|
Err(format!("{}: all retry attempts exhausted", name))
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn dispatch_tools(&mut self, backend: &mut Backend, msg: &Message) {
|
async fn dispatch_tools(&mut self, backend: &mut Backend, msg: &Message) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue