aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'jsonrpc/src/client')
-rw-r--r--jsonrpc/src/client/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonrpc/src/client/mod.rs b/jsonrpc/src/client/mod.rs
index 95354d3..1225f13 100644
--- a/jsonrpc/src/client/mod.rs
+++ b/jsonrpc/src/client/mod.rs
@@ -97,6 +97,7 @@ impl Client {
// Send the json request
self.conn.send(req_json).await?;
+ debug!("--> {request}");
// Register a new request
let rx = self.message_dispatcher.register(id).await;
@@ -126,7 +127,6 @@ impl Client {
return Err(Error::InvalidMsg("Invalid response id"));
}
- debug!("--> {request}");
Ok(response)
}