cjpais/Handy · error
error while building tauri application
Error message
error while building tauri application
What it means
Error "error while building tauri application" thrown in cjpais/Handy.
Source
Thrown at src-tauri/src/lib.rs:1007
.app_handle()
.set_activation_policy(tauri::ActivationPolicy::Accessory);
if let Err(e) = res {
log::error!("Failed to set activation policy: {}", e);
}
}
// No tray: keep the dock icon visible so the user can reopen
}
}
tauri::WindowEvent::ThemeChanged(theme) => {
log::info!("Theme changed to: {:?}", theme);
// Re-apply the current tray state with the new theme's icon set
utils::refresh_tray_icon(window.app_handle());
}
_ => {}
})
.invoke_handler(invoke_handler)
.build(tauri::generate_context!())
.expect("error while building tauri application")
.run(|app, event| match &event {
#[cfg(target_os = "macos")]
tauri::RunEvent::Reopen { .. } => {
show_main_window(app);
}
// Teardown transcribe.cpp before exit
tauri::RunEvent::Exit => {
if let Some(tm) = app.try_state::<Arc<TranscriptionManager>>() {
let _ = tm.unload_model();
}
}
_ => {}
});
}
View on GitHub (pinned to 98a4d80cce)
When it happens
Trigger: Thrown at src-tauri/src/lib.rs:1007 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of cjpais/Handy@98a4d80cce (2026-08-16).
Data as JSON: /api/errors/a6a8fd14c1249ca1.
Report an issue: GitHub.