From cb1e47f5d2abfdc472ed4e4b633328e74d03e404 Mon Sep 17 00:00:00 2001 From: parazyd Date: Fri, 17 Sep 2021 13:30:06 +0200 Subject: [PATCH] bin/drk2: Debug outgoing JSON. --- src/bin/drk2.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/drk2.rs b/src/bin/drk2.rs index afdfe4032..7c3e13033 100644 --- a/src/bin/drk2.rs +++ b/src/bin/drk2.rs @@ -23,6 +23,7 @@ impl Drk { async fn request(&self, r: jsonrpc::JsonRequest) -> Result { let reply: JsonResult; + debug!(target: "DRK", "--> {:#?}", serde_json::to_string(&r)?); match jsonrpc::send_request(self.url.clone(), json!(r)).await { Ok(v) => reply = v, Err(e) => return Err(e),