diff --git a/web3_proxy/src/rpcs/many.rs b/web3_proxy/src/rpcs/many.rs index 747b17fc..40f277bb 100644 --- a/web3_proxy/src/rpcs/many.rs +++ b/web3_proxy/src/rpcs/many.rs @@ -1014,10 +1014,18 @@ impl Web3Rpcs { let num_skipped = skip_rpcs.len(); if num_skipped == 0 { + let consensus = watch_consensus_connections.borrow(); + + let head_block = consensus.as_ref().map(|x| &x.head_block); + error!( - "No servers synced ({:?}-{:?}) ({} known). None skipped", - min_block_needed, max_block_needed, num_conns + "No servers synced ({:?}-{:?}, {:?}) ({} known). None skipped", + min_block_needed, max_block_needed, head_block, num_conns ); + + drop(consensus); + + // TODO: remove this, or move to trace level debug!("{}", serde_json::to_string(&request).unwrap()); } else { // TODO: warn? debug? trace?