error instead of todo
This commit is contained in:
parent
80db68fd44
commit
2b03372e6b
@ -444,7 +444,7 @@ impl Web3Connections {
|
||||
warn!("no servers on {:?}! {:?}", self, earliest_retry_at);
|
||||
|
||||
match earliest_retry_at {
|
||||
None => todo!(),
|
||||
None => Err(anyhow::anyhow!("no servers synced")),
|
||||
Some(earliest_retry_at) => Ok(OpenRequestResult::RetryAt(earliest_retry_at)),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user