Skip to content

Commit

Permalink
fix: add indexer response trace log
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus committed Nov 25, 2024
1 parent 81b006b commit 7f45a52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/client_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7f45a52

Please sign in to comment.