Skip to content

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

desktop: handle error during update check

Abdullah Atta0e066d5d63d0
diff --git a/apps/web/src/utils/updater.ts b/apps/web/src/utils/updater.ts
index ea76ea154..909060145 100644
--- a/apps/web/src/utils/updater.ts
+++ b/apps/web/src/utils/updater.ts
@@ -22,7 +22,7 @@ import { desktop } from "../common/desktop-bridge";
import { appVersion, getServiceWorkerVersion } from "./version";
export async function checkForUpdate() {
- if (IS_DESKTOP_APP) await desktop?.updater.check.query();
+ if (IS_DESKTOP_APP) await desktop?.updater.check.query().catch(console.error);
else {
AppEventManager.publish(AppEvents.checkingForUpdate);