Safe navigation

This commit is contained in:
Ajay Ramachandran
2021-09-28 09:56:32 -04:00
parent 4470f0b60b
commit 86e26025f4

View File

@@ -7,7 +7,7 @@ import { getCommit } from "./utils/getCommit";
async function init() { async function init() {
process.on("unhandledRejection", (error: any) => { process.on("unhandledRejection", (error: any) => {
console.dir(error.stack); console.dir(error?.stack);
}); });
await initDb(); await initDb();