forked from svrjs/svrjs
Fix bug with config.json read errors being undefined.
This commit is contained in:
parent
1a5aa2f79d
commit
f58233a014
1 changed files with 1 additions and 1 deletions
2
svr.js
2
svr.js
|
@ -1171,7 +1171,7 @@ if (fs.existsSync(__dirname + "/config.json")) {
|
||||||
configJSONPErr = err2;
|
configJSONPErr = err2;
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
configJSONRErr = err2;
|
configJSONRErr = err;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue