Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(desktop): log hotkey store load failures through tracing

Richie McIlroy333c56b1ae5e
diff --git a/apps/desktop/src-tauri/src/hotkeys.rs b/apps/desktop/src-tauri/src/hotkeys.rs
index a260f89ce..257a8f59b 100644
--- a/apps/desktop/src-tauri/src/hotkeys.rs
+++ b/apps/desktop/src-tauri/src/hotkeys.rs
@@ -328,7 +328,7 @@ pub fn init(app: &AppHandle) {
Ok(Some(s)) => s,
Ok(None) => HotkeysStore::default(),
Err(e) => {
- eprintln!("Failed to load hotkeys store: {e}");
+ tracing::error!("Failed to load hotkeys store: {e}");
HotkeysStore::default()
}
};