Added handling for 5xx responses from Discord
Created by: xSke
Properly handles HTTP 502, 503 and 504 errors from Discord by throwing a ServerErrorException
instead of attempting (and usually failing) to parse it as a real response.
Created by: xSke
Properly handles HTTP 502, 503 and 504 errors from Discord by throwing a ServerErrorException
instead of attempting (and usually failing) to parse it as a real response.