Skip to content

Commit

Permalink
Fix error handling of ConfigError in main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteOtter committed Oct 1, 2024
1 parent a96b366 commit 8b09d8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ fn main() {
let config = match set_up_configuration(args.uri, args.token, args.name.clone()) {
Ok(conf) => conf,
Err(err) => {
println!("{}", err);
process::exit(1)
err.abort(None);
}
};

Expand Down

0 comments on commit 8b09d8f

Please sign in to comment.