chore: expose actual debug_traceCall error

Without this it was being hidden, somehow.
This commit is contained in:
TAMARA LIPOWSKI
2025-09-25 22:13:41 -04:00
committed by Tamara
parent 6cc1dcc505
commit e1bc6c1e55

View File

@@ -130,6 +130,10 @@ impl RPCProvider {
.client() .client()
.request("debug_traceCall", (transaction, BlockId::from(block_number), trace_options)) .request("debug_traceCall", (transaction, BlockId::from(block_number), trace_options))
.await .await
.map_err(|e| {
tracing::error!("debug_traceCall RPC error: {:#}", e);
e
})
.into_diagnostic() .into_diagnostic()
.wrap_err("Failed to debug trace call many")?; .wrap_err("Failed to debug trace call many")?;