More sync debugging statements

This commit is contained in:
Zef Hemel
2023-08-09 17:22:42 +02:00
parent be8007c9e4
commit 52fdc14ee4
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -168,7 +168,9 @@ export class Client {
await this.dispatchAppEvent("editor:init");
setInterval(() => {
this.syncService.syncFile(`${this.currentPage!}.md`);
this.syncService.syncFile(`${this.currentPage!}.md`).catch((e: any) => {
console.error("Interval sync error", e);
});
}, pageSyncInterval);
}