More consise error messages

This commit is contained in:
Zef Hemel
2023-07-28 13:54:44 +02:00
parent f24fbbb472
commit 747e81e5da
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ export class SyncService {
this.eventHook.dispatchEvent("sync:success", operations);
} catch (e: any) {
this.eventHook.dispatchEvent("sync:error", e.message);
console.error("Sync error", e);
console.error("Sync error", e.message);
}
await this.saveSnapshot(snapshot);
await this.registerSyncStop();