mirror of
https://seed.radicle.dev/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE.git
synced 2026-11-29 14:30:32 +08:00
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:
@@ -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(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user