fix: write the run log

It turns out that writing the to a file is sometimes a useful thing to
do. Who could've foreseen this. Well, they're using a paper bag on
their head as they're writing this commit message.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2024-01-15 14:41:27 +02:00
parent 3a20cb66e6
commit c949db7e6f
+5
View File
@@ -220,6 +220,11 @@ impl<'a> Runner<'a> {
self.builder.result(result);
if let Err(e) = self.run_log.write() {
self.log
.writeln(&format!("failed to write run log: {}", e))?;
}
Ok(())
}
}