fix line logging

This commit is contained in:
James Wilson
2025-08-15 16:11:11 +01:00
parent 5e19269124
commit c960f02417
+1 -1
View File
@@ -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!(