aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/scripts
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2019-04-28 00:14:46 +0200
committerGitHub <noreply@github.com>2019-04-28 00:14:46 +0200
commit6643bb52539f8caf78c10956f4d14bb85d742bff (patch)
tree51b73f067952aed9f379caf4be7e9ab2b08eaac7 /server/src/scripts
parentMerge pull request #61 from MinusGix/patch-1 (diff)
parentMerge pull request #1 from MinusGix/patch-3 (diff)
downloadhackchat-6643bb52539f8caf78c10956f4d14bb85d742bff.tar.gz
hackchat-6643bb52539f8caf78c10956f4d14bb85d742bff.zip
Merge pull request #62 from MinusGix/patch-2
Give greater insight into server errors for server owner
Diffstat (limited to 'server/src/scripts')
-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 {