From 8c1ff7e2283620a8dfa4524d8da5cb36da6cb05e Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sun, 5 Jul 2020 15:32:10 -0600 Subject: [PATCH] Exit on error --- core/bbs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/bbs.js b/core/bbs.js index 87289e94..e3d08ed4 100644 --- a/core/bbs.js +++ b/core/bbs.js @@ -125,6 +125,7 @@ function main() { if(err && !errorDisplayed) { console.error('Error initializing: ' + util.inspect(err)); + return process.exit(); } } );