diff --git a/src/main.ts b/src/main.ts index 5cf1830b7..56e0ef287 100644 --- a/src/main.ts +++ b/src/main.ts @@ -7,4 +7,7 @@ config(); const bot = new Bot(); -bot.start(); +bot.start().catch((e) => { + console.error(e); + process.exit(1); +});