Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

desktop: ignore errors during update check

Abdullah Attadd674d38df09
diff --git a/apps/desktop/src/api/updater.ts b/apps/desktop/src/api/updater.ts
index 098122288..7e37c24be 100644
--- a/apps/desktop/src/api/updater.ts
+++ b/apps/desktop/src/api/updater.ts
@@ -41,7 +41,7 @@ export const updaterRouter = t.router({
.finally(() => (cancellationToken = undefined));
}),
check: t.procedure.query(async () => {
- await autoUpdater.checkForUpdates();
+ await autoUpdater.checkForUpdates().catch(console.error);
}),
toggleAutoUpdates: t.procedure