Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Make git-daemon errors more apparent
Alexis Sellier committed 3 years ago
commit c1a749e09e71883b36bec2c44752446376497c16
parent 03b94c81a08efd70ff8876865b61754dcad8230a
1 file changed +5 -1
modified radicle-node/src/runtime.rs
@@ -203,7 +203,11 @@ impl<G: Signer + EcSign + 'static> Runtime<G> {
            let stderr = daemon.stderr.take().unwrap();
            || {
                for line in BufReader::new(stderr).lines().flatten() {
-
                    log::debug!(target: "daemon", "{line}");
+
                    if line.starts_with("fatal") {
+
                        log::error!(target: "daemon", "{line}");
+
                    } else {
+
                        log::debug!(target: "daemon", "{line}");
+
                    }
                }
            }
        })?;