mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-07 20:50:03 +00:00
Don’t print "Fatal error" for UserAbort
This commit is contained in:
parent
d21c4a0875
commit
7f0c818313
2 changed files with 3 additions and 5 deletions
|
@ -93,10 +93,7 @@ impl Termination for MainExit {
|
|||
info!("Installation completed in {spent:?}");
|
||||
ExitCode::SUCCESS
|
||||
}
|
||||
Self::Error(err) => {
|
||||
error!("Fatal error:");
|
||||
err.report()
|
||||
}
|
||||
Self::Error(err) => err.report(),
|
||||
Self::Report(err) => {
|
||||
error!("Fatal error:");
|
||||
eprintln!("{err:?}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue