Skip to content

Commit

Permalink
chore: Display instead of Debug the response JSON (#1748)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Dec 4, 2024
1 parent bd8298d commit 35f4712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/json-rpc/src/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ where
{
let json = result?;
let json = json.borrow().get();
trace!(ty=%std::any::type_name::<T>(), json, "deserializing response");
trace!(ty=%std::any::type_name::<T>(), %json, "deserializing response");
serde_json::from_str(json)
.inspect(|response| trace!(?response, "deserialized response"))
.inspect_err(|err| trace!(?err, "failed to deserialize response"))
Expand Down

0 comments on commit 35f4712

Please sign in to comment.