Exit on error
This commit is contained in:
parent
20bbbd2f59
commit
8c1ff7e228
|
@ -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…
Reference in New Issue