Skip to content

Commit

Permalink
catch error
Browse files Browse the repository at this point in the history
  • Loading branch information
gnehs committed Jul 19, 2024
1 parent 805a1f6 commit 0ccdc79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ bot.use(
require("./components/subscribe/index")
);

bot.catch((err) => {
console.log("[error]", err);
});

bot.launch();

0 comments on commit 0ccdc79

Please sign in to comment.