slack-bot-api icon indicating copy to clipboard operation
slack-bot-api copied to clipboard

Handle error when too many requests

Open foxCanFly opened this issue 7 years ago • 0 comments

When you have a lot of requests to Slack. For example if you use nodemon and your app in development mode try login very often. You get an response(type string) from Slack that there are too mane request and please relax and wait some time. But this lib try parse this response as a json. So we get a not obvious syntax error without any self-consistent stack trace.

foxCanFly avatar Mar 01 '17 14:03 foxCanFly