From 2b03372e6b1c4958a364e56a80552d4094d9b8c7 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 28 Sep 2022 16:35:18 +0000 Subject: [PATCH] error instead of todo --- web3_proxy/src/rpcs/connections.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/rpcs/connections.rs b/web3_proxy/src/rpcs/connections.rs index c655b09a..fb1bfc45 100644 --- a/web3_proxy/src/rpcs/connections.rs +++ b/web3_proxy/src/rpcs/connections.rs @@ -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)), } }