From d66afede289f74fd8ef2b7102403e0580cbbc0b4 Mon Sep 17 00:00:00 2001 From: SinuS Von SifriduS Date: Sun, 10 May 2026 00:33:36 +0200 Subject: [PATCH] 0.7.37 forgotten one --- kb_demo_app/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kb_demo_app/src/lib.rs b/kb_demo_app/src/lib.rs index 8cb6f95..02d9c23 100644 --- a/kb_demo_app/src/lib.rs +++ b/kb_demo_app/src/lib.rs @@ -49,7 +49,7 @@ struct AppState { /// Runs the desktop application. #[cfg_attr(mobile, tauri::mobile_entry_point)] -pub async fn run() -> Result<(), kb_lib::KhError> { +pub async fn run() -> Result<(), kb_lib::Error> { let config_path = kb_lib::Config::default_path(); let config_result = kb_lib::Config::load_from_path(&config_path); let config = match config_result { @@ -222,7 +222,7 @@ pub async fn run() -> Result<(), kb_lib::KhError> { let run_result = tauri_builder.run(tauri::generate_context!()); if let Err(error) = run_result { tracing::error!("error while running tauri application: {error:?}"); - return Err(kb_lib::KhError::InvalidState(format!( + return Err(kb_lib::Error::InvalidState(format!( "error while running tauri application: {error:?}" ))); }