From 273ce2744abbf56fc5e2e10a28547c9d8578432e Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Thu, 13 Apr 2023 12:30:41 +0200 Subject: [PATCH] node: Add more information to worker result log --- radicle-node/src/wire/protocol.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/radicle-node/src/wire/protocol.rs b/radicle-node/src/wire/protocol.rs index b96f1364..3e0f2d00 100644 --- a/radicle-node/src/wire/protocol.rs +++ b/radicle-node/src/wire/protocol.rs @@ -354,7 +354,11 @@ where } fn worker_result(&mut self, task: TaskResult) { - log::debug!(target: "wire", "Received fetch result from worker: {:?}", task.result); + log::debug!( + target: "wire", + "Received fetch result from worker: stream={} remote={} fetch={:?} result={:?}", + task.stream, task.fetch.remote(), task.result, task.fetch + ); let nid = task.fetch.remote(); let Some((fd, peer)) = self