1
0
Fork 0
forked from svrjs/svrjs

Fix bug with config.json read errors being undefined.

This commit is contained in:
Dorian Niemiec 2024-08-25 11:56:38 +02:00
parent 1a5aa2f79d
commit f58233a014

2
svr.js
View file

@ -1171,7 +1171,7 @@ if (fs.existsSync(__dirname + "/config.json")) {
configJSONPErr = err2;
}
} catch (err) {
configJSONRErr = err2;
configJSONRErr = err;
}
}