Skip to content

Commit cf10f0d

Browse files
committed
rookie mistake
1 parent 042ae84 commit cf10f0d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ import { logger } from "./utils.js";
1313
const MetaConcord = new App();
1414
(global as any).MetaConcord = MetaConcord;
1515

16-
process.on("uncaughtException", err => logger("App").fatal(err));
16+
process.on("uncaughtException", err => {
17+
logger("App").fatal(err);
18+
process.exit(1);
19+
});
1720

1821
export default MetaConcord;

0 commit comments

Comments
 (0)