mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 21:04:18 +08:00
Handle nonstop TUI error
This commit is contained in:
parent
e8cb1f6a03
commit
b9aee43a09
@ -219,6 +219,11 @@ fn main_inner() -> anyhow::Result<()> {
|
||||
match status {
|
||||
RecipeStatus::Cached => print_cached(&command, &recipe.name),
|
||||
RecipeStatus::Done => print_success(&command, &recipe.name),
|
||||
RecipeStatus::Failed(err) => {
|
||||
let _ = stderr().write(err.as_bytes());
|
||||
let _ = stderr().write(b"\n\n");
|
||||
print_failed(&command, &recipe.name)
|
||||
}
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user