Closed zechdc closed 8 years ago
This isn't a bug. Slack informed you of the issue, and the package gave you a sensible exception explaining the issue when you attempted to send a message. How would you suggest this be handled?
This is an edge case for sure. The system does handle itself pretty well. All I had to do was enable the disabled webhook.
I guess I would expect your PHP package to see that slack returned an HTTP 429 and start sending the response of the 429 every second to abide by slacks rate limits. However, that would probably be a decent amount of work for something that works well enough. Just figured I'd inform you of an edge case. Thanks for the reply.
Thanks, Zechariah Campbell | Band Manager | JanuaryMay.com http://januarymay.com/ | 314-707-0952
On Wed, Feb 17, 2016 at 1:42 PM, Regan McEntyre notifications@github.com wrote:
Slack informed you of the issue, and the package gave you a sensible exception explaining the issue when you attempted to use the package. How would you suggest this be handled?
— Reply to this email directly or view it on GitHub https://github.com/maknz/slack/issues/36#issuecomment-185371532.
Cool. At this stage I'm happy with the existing behaviour. As with anything, if a decent chunk of people chime in with this being problematic for whatever reason, we can re-examine.
Ran into an interesting bug tonight. I received an email from slack that said the following:
Our system had a hardware issue and linux went into read only mode causing thousands of exceptions to be thrown.
After the first thousand exceptions got logged, I started getting a few of these scattered in my log 'Uncaught exception with message 'Client error response [url] https://hooks.slack.com/services/REDACTED_MY_KEY/REDACTED_MY_KEY [status code] 429 [reason phrase] Too Many Requests'