diff options
| author | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2022-12-31 18:22:30 +0400 | 
|---|---|---|
| committer | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2022-12-31 18:22:30 +0400 | 
| commit | 48442ca9a59826f0f0ed2da6e1a6b37f411dcc6c (patch) | |
| tree | d0d74310beb42488073457faa164850bdeef08a5 /libs | |
| parent | 32af5021cb2bf558d6a0c21b863f16755d475307 (diff) | |
fix crash on startup
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/shared/src/config.rs | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/shared/src/config.rs b/libs/shared/src/config.rs index 5e8cb51..52137a3 100644 --- a/libs/shared/src/config.rs +++ b/libs/shared/src/config.rs @@ -49,8 +49,7 @@ where          //  try to load the config          settings.config = config.get::<T>(service_name)?; -        pretty_env_logger::init(); - +                  // start the monitoring system if needed          crate::monitoring::start_monitoring(&settings.monitoring);          Ok(settings)  | 
