From 7f45a52a87fd992b1aaceb0cefec66ec67c14f0e Mon Sep 17 00:00:00 2001 From: Theo Butler Date: Mon, 25 Nov 2024 11:57:57 -0500 Subject: [PATCH] fix: add indexer response trace log --- src/client_query.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client_query.rs b/src/client_query.rs index c70c05e4..d35b0686 100644 --- a/src/client_query.rs +++ b/src/client_query.rs @@ -448,7 +448,10 @@ async fn run_indexer_queries( fee = indexer_request.receipt.grt_value() as f64 * 1e-18, "indexer_request" ); - tracing::trace!(indexer_request = indexer_request.request); + tracing::trace!( + indexer_request = indexer_request.request, + indexer_response = ?indexer_request.result.as_ref().map(|r| &r.original_response), + ); } let response_time_ms = client_response_time.as_millis() as u16;