Removed RetryMode.RetryErrors

This commit is contained in:
RogueException
2016-12-27 17:50:32 -04:00
parent d82d7e1584
commit 1169d3671c
2 changed files with 6 additions and 6 deletions

View File

@@ -117,7 +117,7 @@ namespace Discord.Net.Queue
return response.Stream;
}
}
catch (HttpException) { throw; } //Pass through
//catch (HttpException) { throw; } //Pass through
catch (TimeoutException)
{
#if DEBUG_LIMITS
@@ -129,7 +129,7 @@ namespace Discord.Net.Queue
await Task.Delay(500);
continue; //Retry
}
catch (Exception)
/*catch (Exception)
{
#if DEBUG_LIMITS
Debug.WriteLine($"[{id}] Error");
@@ -139,7 +139,7 @@ namespace Discord.Net.Queue
await Task.Delay(500);
continue; //Retry
}
}*/
finally
{
UpdateRateLimit(id, request, info, lag, false);