From 612f5a48c15e9092e2d8eef4789814b359e72fd8 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 14 Sep 2022 03:00:35 +0000 Subject: [PATCH] minor polish to error --- web3_proxy/src/rpcs/connections.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web3_proxy/src/rpcs/connections.rs b/web3_proxy/src/rpcs/connections.rs index c98fce85..a8e6b7fb 100644 --- a/web3_proxy/src/rpcs/connections.rs +++ b/web3_proxy/src/rpcs/connections.rs @@ -153,8 +153,9 @@ impl Web3Connections { handles.push(handle); } Ok(Err(err)) => { - // TODO: some of these are probably retry-able - error!(?err); + // if we got an error here, it is not retryable + // TODO: include context about which connection failed + error!(?err, "Unable to create connection"); } Err(err) => { return Err(err.into());