diff --git a/src/main.rs b/src/main.rs index c528695..dba5171 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,10 @@ async fn get_tray_status(tray: tauri::State<'_, TrayManager>) -> Result, app: tauri::AppHandle) -> Result<(), String> { +async fn start_tray( + tray: tauri::State<'_, TrayManager>, + app: tauri::AppHandle, +) -> Result<(), String> { tray.start(&app).await.map_err(|e| e.to_string()) } @@ -157,8 +160,7 @@ fn create_tray_with_mode(mode: String) -> Result { } fn main() { - botlib::logging::init_compact_logger("info"); - + botlib::logging::init_compact_logger("trace"); let version = env!("CARGO_PKG_VERSION"); info!("BotApp {version} starting...");