From f58233a014db2476baf69e3f74fa34e048a137c7 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 25 Aug 2024 11:56:38 +0200 Subject: [PATCH] Fix bug with config.json read errors being undefined. --- svr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svr.js b/svr.js index feca9c3..811c141 100644 --- a/svr.js +++ b/svr.js @@ -1171,7 +1171,7 @@ if (fs.existsSync(__dirname + "/config.json")) { configJSONPErr = err2; } } catch (err) { - configJSONRErr = err2; + configJSONRErr = err; } }