Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restapi: retry on 500s as well as 502s
This is a sequel to issue #227. I run a matterbridge bridge and I'm getting 500s from the Discord API from time to time. We should treat them the same as a 503, instead of just immediately giving up. Since we're adding entries to the switch statement, also clean up the naked 429 to be consistent.
- Loading branch information