Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Add more information to worker result log
Alexis Sellier committed 3 years ago
commit 273ce2744abbf56fc5e2e10a28547c9d8578432e
parent f4257eb9537b3a7077562d9907f3f2432fdf4ca8
1 file changed +5 -1
modified 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