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 b42f9de commit e5680b1Copy full SHA for e5680b1
app/common/enterprise-util.ts
@@ -3,6 +3,7 @@ import path from "node:path";
3
import process from "node:process";
4
5
import {z} from "zod";
6
+import {dialog} from "zulip:remote";
7
8
import {enterpriseConfigSchemata} from "./config-schemata.js";
9
import Logger from "./logger-util.js";
@@ -40,6 +41,10 @@ function reloadDatabase(): void {
40
41
.partial()
42
.parse(data);
43
} catch (error: unknown) {
44
+ dialog.showErrorBox(
45
+ "Error loading global_config",
46
+ "We encountered an error while reading global_config.json, please make sure the file contains valid JSON.",
47
+ );
48
logger.log("Error while JSON parsing global_config.json: ");
49
logger.log(error);
50
}
0 commit comments