aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorMinusGix <MinusGix@gmail.com>2019-04-28 00:09:52 +0200
committerGitHub <noreply@github.com>2019-04-28 00:09:52 +0200
commit4e4aaf611ab5010aca5dad5dfc61e5039f865775 (patch)
tree51b73f067952aed9f379caf4be7e9ab2b08eaac7 /server/src
parentUpdate CommandManager.js (diff)
parentUpdate SetupWizard.js (diff)
downloadhackchat-4e4aaf611ab5010aca5dad5dfc61e5039f865775.tar.gz
hackchat-4e4aaf611ab5010aca5dad5dfc61e5039f865775.zip
Merge pull request #1 from MinusGix/patch-3
Update SetupWizard.js
Diffstat (limited to 'server/src')
-rw-r--r--server/src/scripts/configLib/SetupWizard.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/scripts/configLib/SetupWizard.js b/server/src/scripts/configLib/SetupWizard.js
index 339878d..bd6ef24 100644
--- a/server/src/scripts/configLib/SetupWizard.js
+++ b/server/src/scripts/configLib/SetupWizard.js
@@ -87,6 +87,12 @@ class SetupWizard {
if (typeof result.mods === 'undefined') {
result.mods = [];
}
+
+ // If we should log errors with the err stack when they occur.
+ // See: CommandManager.js
+ if (typeof result.logErrDetailed === 'undefined') {
+ result.logErrDetailed = false;
+ }
// finally create the actual JSON file
try {