Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: add logging to updater check (was silent black box)

Louis Beaumont184891e4b90c
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/updates.rs b/apps/screenpipe-app-tauri/src-tauri/src/updates.rs
index a1ffed1d0..8c8c0beb8 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/updates.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/updates.rs
@@ -406,7 +406,20 @@ impl UpdatesManager {
error!("Failed to update all pipes: {}", err);
}
- if let Some(update) = self.app.updater()?.check().await? {
+ info!("checking for updates via Tauri updater...");
+ let check_result = self.app.updater()?.check().await;
+ match &check_result {
+ Ok(Some(ref u)) => {
+ info!("update found: v{}", u.version);
+ }
+ Ok(None) => {
+ info!("updater returned None — no update available (current app thinks it's up to date)");
+ }
+ Err(ref e) => {
+ error!("updater check() error: {}", e);
+ }
+ }
+ if let Some(update) = check_result? {
*self.update_available.lock().await = true;
#[cfg(target_os = "windows")]