diff --git a/index.js b/index.js index 2f6e66b..b3167a8 100644 --- a/index.js +++ b/index.js @@ -17,4 +17,8 @@ bot.use( require("./components/subscribe/index") ); +bot.catch((err) => { + console.log("[error]", err); +}); + bot.launch();