aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMinusGix <MinusGix@gmail.com>2019-04-28 00:05:58 +0200
committerGitHub <noreply@github.com>2019-04-28 00:05:58 +0200
commit0dd8836e40cf3c2339f5b58002408d5cbcfdc819 (patch)
tree0a2c80759cbae66dad95b573422d4419913adbc4
parentMerge pull request #61 from MinusGix/patch-1 (diff)
downloadhackchat-0dd8836e40cf3c2339f5b58002408d5cbcfdc819.tar.gz
hackchat-0dd8836e40cf3c2339f5b58002408d5cbcfdc819.zip
Update SetupWizard.js
-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 {