We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5680b1 commit 51ff949Copy full SHA for 51ff949
app/common/enterprise-util.ts
@@ -1,3 +1,4 @@
1
+import {app} from "electron/main";
2
import fs from "node:fs";
3
import path from "node:path";
4
import process from "node:process";
@@ -47,6 +48,11 @@ function reloadDatabase(): void {
47
48
);
49
logger.log("Error while JSON parsing global_config.json: ");
50
logger.log(error);
51
+ // This function is called multiple times throughout the
52
+ // codebase, making the above dialog.showErrorBox appear
53
+ // multiple times and then leading to a non-working app.
54
+ // It might be better to quit the app instead.
55
+ app.quit();
56
}
57
} else {
58
configFile = false;
0 commit comments