We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199bec2 commit 0ec73a7Copy full SHA for 0ec73a7
src/lib_context.rs
@@ -338,12 +338,10 @@ static LIB_CONTEXT: LazyLock<tokio::sync::Mutex<Option<Arc<LibContext>>>> =
338
LazyLock::new(|| tokio::sync::Mutex::new(None));
339
340
pub(crate) async fn init_lib_context(settings: Option<settings::Settings>) -> Result<()> {
341
- error!("Init lib context");
342
let settings = match settings {
343
Some(settings) => settings,
344
None => get_settings()?,
345
};
346
- error!("Init lib context with settings: {:?}", settings);
347
let mut lib_context_locked = LIB_CONTEXT.lock().await;
348
*lib_context_locked = Some(Arc::new(create_lib_context(settings).await?));
349
Ok(())
0 commit comments