Skip to content

Commit

Permalink
chore: update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
plainheart committed Mar 3, 2021
1 parent 5477ea6 commit 5cae49b
Show file tree
Hide file tree
Showing 3 changed files with 10,787 additions and 19 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -196,6 +196,7 @@ module.exports = (app) => {
}
});

// it can be app.onError since v11.1.0
app.webhooks.onError(error => {
logger.error('bot occured an error');
logger.error(error);
Expand Down

0 comments on commit 5cae49b

Please sign in to comment.