mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
refactored access to options on frontend
This commit is contained in:
@@ -130,7 +130,7 @@ async function consumeSyncData() {
|
||||
await treeCache.processSyncRows(allSyncData);
|
||||
}
|
||||
catch (e) {
|
||||
logError(`Encountered error ${e.message}, reloading frontend.`);
|
||||
logError(`Encountered error ${e.message}: ${e.stack}, reloading frontend.`);
|
||||
|
||||
// if there's an error in updating the frontend then the easy option to recover is to reload the frontend completely
|
||||
utils.reloadApp();
|
||||
|
||||
Reference in New Issue
Block a user