Fix stream access exception when ratelimited (#2117)
This commit is contained in:
@@ -75,7 +75,6 @@ namespace Discord.Net.Queue
|
|||||||
switch (response.StatusCode)
|
switch (response.StatusCode)
|
||||||
{
|
{
|
||||||
case (HttpStatusCode)429:
|
case (HttpStatusCode)429:
|
||||||
info.ReadRatelimitPayload(response.Stream);
|
|
||||||
if (info.IsGlobal)
|
if (info.IsGlobal)
|
||||||
{
|
{
|
||||||
#if DEBUG_LIMITS
|
#if DEBUG_LIMITS
|
||||||
|
|||||||
Reference in New Issue
Block a user