diff --git a/src/index.ts b/src/index.ts index 5c7787f..625d729 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,7 @@ import { getCommit } from "./utils/getCommit"; async function init() { process.on("unhandledRejection", (error: any) => { - console.dir(error.stack); + console.dir(error?.stack); }); await initDb();