refactored access to options on frontend

This commit is contained in:
zadam
2020-02-05 22:08:45 +01:00
parent 786bbbc160
commit 42017fde5f
32 changed files with 267 additions and 311 deletions

View File

@@ -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();