From fcac7ee7687c42bf0bd5b306738e1482f75710a2 Mon Sep 17 00:00:00 2001 From: Ryan McGuire Date: Wed, 19 Jun 2024 01:50:37 -0600 Subject: [PATCH] Ignore env_logger initialization errors (#2170) --- src/run.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/run.rs b/src/run.rs index 764440e..549a8fe 100644 --- a/src/run.rs +++ b/src/run.rs @@ -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();