Merge pull request #55 from AAVikings/master

Throwing error to allow kubernetes restart
This commit is contained in:
benme authored and GitHub committed 2019-03-26 18:51:07 +01:00
commit b8a927a8cc
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@ process.on('unhandledRejection', (reason, p) => {
process.on('exit', function (code) {
try {
console.log('[INFO] Run -> process.on.exit -> About to exit -> code = ' + code);
return;
throw new Error()
}
catch (err) {
console.log("[ERROR] Run -> process.on.exit -> Error Logging Error Code.");