From e6bc4fdc762031300de393811a03dd926c878a89 Mon Sep 17 00:00:00 2001 From: Patrick Browne Date: Tue, 21 Jul 2020 16:49:14 +0200 Subject: [PATCH] fix: Correctly exit with 1 --- src/targets/services/onOperationOrBillCreate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/targets/services/onOperationOrBillCreate.js b/src/targets/services/onOperationOrBillCreate.js index 68bd259778..56083f2291 100644 --- a/src/targets/services/onOperationOrBillCreate.js +++ b/src/targets/services/onOperationOrBillCreate.js @@ -201,5 +201,5 @@ const main = async () => { main().catch(e => { log('critical', e) - process.exit(e) + process.exit(1) })