Skip to content

Commit

Permalink
fix: print log lines on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Jan 17, 2025
1 parent c022705 commit c2dc47b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/tests/src/probe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ impl<'d> DeviceUnderTest<'d> {
select! {
r = flasher.wait() => {
log::warn!("flasher exited unexpectedly: {:?}", r);
for line in lines {
log::warn!("{}", line);
}
}
_ = self.token.cancelled() => {
flasher.kill().await.unwrap();
Expand Down

0 comments on commit c2dc47b

Please sign in to comment.