diff --git a/index.js b/index.js index b18578f..b26a0cb 100644 --- a/index.js +++ b/index.js @@ -1,9 +1,5 @@ const { Telegraf } = require("telegraf"); const bot = new Telegraf(process.env.BOT_TOKEN); -bot.catch((err, ctx) => { - console.log(`Ooops, encountered an error for ${ctx.updateType}`); - console.log(err); -}); // components bot.use(