chore: use panic instead eprint
This commit is contained in:
parent
261e6fdbc6
commit
6381c99727
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,6 @@ fn main() {
|
||||||
dotenv::dotenv().ok();
|
dotenv::dotenv().ok();
|
||||||
|
|
||||||
if let Err(err) = App::new(AppOpt::from_args()).run_command() {
|
if let Err(err) = App::new(AppOpt::from_args()).run_command() {
|
||||||
eprintln!("Error: {}", err);
|
panic!("Error: {}", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue