mobile: catch errors

This commit is contained in:
Ammar Ahmed
2025-12-25 11:40:05 +05:00
parent 873b180dab
commit 22497199c5

View File

@@ -126,7 +126,12 @@ export function initAfterSync(type: "full" | "send" = "send") {
Notifications.setupReminders(true);
NotePreviewWidget.updateNotes();
eSendEvent(eAfterSync);
NotesnookModule.getAllShortcuts().then(syncShortcuts);
NotesnookModule.getAllShortcuts()
.then(syncShortcuts)
.catch((e) => {
DatabaseLogger.log(e);
});
}
export async function initialize() {}