You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slack is having an outage today where among other things they aren't properly responding to webhooks. This is causing pyslack to throw an exception in the JSON parser and bring down our whole application.
Is there a way to make the library catch these types of issues internally and fail silently if requested? The alternative is to wrap every logging call in a try/except block
The text was updated successfully, but these errors were encountered:
If I were to make a change, I think a reasonable solution to this problem would be calling response.raise_for_status(), raising a custom exception, and adding some sort of parameter to client calls like handle_errors_gracefully for handling that.
It's been a bit over a year since any active development of this library. It seems that Slack themselves have gone on and made their own client, which should be up to snuff with their latest API and whatnot.
For a quick fix, I'd suggest just wrapping your slack calls with try/except blocks. Sorry for the troubles, and happy holidays!
Slack is having an outage today where among other things they aren't properly responding to webhooks. This is causing pyslack to throw an exception in the JSON parser and bring down our whole application.
Is there a way to make the library catch these types of issues internally and fail silently if requested? The alternative is to wrap every logging call in a try/except block
The text was updated successfully, but these errors were encountered: