mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
quit fountain generator if error is encountered
This commit is contained in:
parent
ce116c2c0d
commit
fd500927d3
1 changed files with 1 additions and 0 deletions
|
|
@ -175,6 +175,7 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
|
|||
match std::io::Write::write(&mut stream, format!("hello! {}\n", count).as_bytes()) {
|
||||
Err(e) => {
|
||||
log::info!("fountain write failed with error {:?}", e);
|
||||
break;
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue