Skip to content

Commit

Permalink
Merge pull request #83 from acuteaangle/panic_on_error
Browse files Browse the repository at this point in the history
fix: panic on unhandled error rather than only printing it
  • Loading branch information
Spagett1 authored Dec 30, 2024
2 parents a823625 + 66c2b30 commit 1cbe554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,6 @@ fn main() {
}),
) {
Ok(_) => (),
Err(error) => println!("A massive error occured, not sure whats goin on here: \n {}", error),
Err(error) => panic!("A massive error occured, not sure whats goin on here: \n {}"),
}
}

0 comments on commit 1cbe554

Please sign in to comment.