From eaaf106d7c445e4479c69dc5860a557cb257efcd Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Wed, 29 Sep 2021 12:22:40 -0400 Subject: [PATCH] Another try at #372 --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 625d729..8c57217 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,6 +8,7 @@ import { getCommit } from "./utils/getCommit"; async function init() { process.on("unhandledRejection", (error: any) => { console.dir(error?.stack); + process.exit(1); }); await initDb(); @@ -22,4 +23,4 @@ async function init() { }); } -init(); \ No newline at end of file +init();