mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-29 14:06:09 +02:00
Exit on error
This commit is contained in:
parent
20bbbd2f59
commit
8c1ff7e228
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ function main() {
|
||||||
|
|
||||||
if(err && !errorDisplayed) {
|
if(err && !errorDisplayed) {
|
||||||
console.error('Error initializing: ' + util.inspect(err));
|
console.error('Error initializing: ' + util.inspect(err));
|
||||||
|
return process.exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue