Skip to content

Commit

Permalink
Ignore env_logger initialization errors (#2170)
Browse files Browse the repository at this point in the history
  • Loading branch information
EnigmaCurry authored Jun 19, 2024
1 parent 71b72c4 commit fcac7ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ pub fn run() -> Result<(), i32> {
.filter("JUST_LOG")
.write_style("JUST_LOG_STYLE"),
)
.init();
.try_init()
.ok();

let app = Config::app();

Expand Down

0 comments on commit fcac7ee

Please sign in to comment.