mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-30 12:57:59 +00:00
fix line logging
This commit is contained in:
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user