Skip to content

Commit

Permalink
fix: exit with error on failure
Browse files Browse the repository at this point in the history
paperclip cli main was not exiting with error code.

Signed-off-by: Tiago Castro <[email protected]>
  • Loading branch information
tiagolobocastro committed Oct 21, 2024
1 parent df376d5 commit f8ebbce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,6 @@ fn main() {
env_logger::init();
if let Err(e) = parse_args_and_run() {
eprintln!("{}", e);
std::process::exit(1);
}
}

0 comments on commit f8ebbce

Please sign in to comment.