Skip to content

Commit

Permalink
Feat(main): Integrate human-panic
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mabileau <paulmabileau@hotmail.fr>
  • Loading branch information
PaulDance committed Sep 21, 2024
1 parent 9093f0b commit 4afad09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ pub const OPEN_ISSUE_MSG: &str =

/// Wrap the desired main and let `color-eyre` display errors.
fn main() -> Result<()> {
// More user-guiding panics in release builds.
human_panic::setup_panic!();
// Logging and error reporting are controlled by the CLI arguments, so they
// must be parsed first.
let args = LinerArgs::parse_env();
Expand Down

0 comments on commit 4afad09

Please sign in to comment.