forked from svrjs/svrjs
Fix log files only partially saving on failed master startup
This commit is contained in:
parent
f475aa8651
commit
c7c381d8c9
1 changed files with 3 additions and 1 deletions
2
svr.js
2
svr.js
|
@ -5628,7 +5628,9 @@ try {
|
|||
serverconsole.locerrmessage("There was a problem starting SVR.JS!!!");
|
||||
serverconsole.locerrmessage("Stack:");
|
||||
serverconsole.locerrmessage(generateErrorStack(err));
|
||||
setTimeout(function() {
|
||||
process.exit(err.errno ? err.errno : 1);
|
||||
}, 10);
|
||||
}
|
||||
|
||||
//////////////////////////////////
|
||||
|
|
Reference in a new issue