From c960f0241792aaddde55805505c3d1157d48db2a Mon Sep 17 00:00:00 2001 From: James Wilson Date: Fri, 15 Aug 2025 16:11:11 +0100 Subject: [PATCH] fix line logging --- crates/node/src/geth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/node/src/geth.rs b/crates/node/src/geth.rs index 8c194d3..3ada731 100644 --- a/crates/node/src/geth.rs +++ b/crates/node/src/geth.rs @@ -216,13 +216,13 @@ impl GethNode { let mut lines = vec![]; loop { if let Some(Ok(line)) = stderr.next() { - lines.push(line); if line.contains(Self::ERROR_MARKER) { anyhow::bail!("Failed to start geth {line}"); } if line.contains(Self::READY_MARKER) { return Ok(self); } + lines.push(line); } if Instant::now().duration_since(start_time) > maximum_wait_time { anyhow::bail!(