|
|
@ -509,8 +509,11 @@ namespace NzbDrone.Core.Indexers
|
|
|
|
|
|
|
|
|
|
|
|
// Throw common http errors here before we try to parse
|
|
|
|
// Throw common http errors here before we try to parse
|
|
|
|
if (response.HasHttpError)
|
|
|
|
if (response.HasHttpError)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (response.Request.LogHttpError)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_logger.Warn("HTTP Error - {0}", response);
|
|
|
|
_logger.Warn("HTTP Error - {0}", response);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (response.StatusCode == HttpStatusCode.TooManyRequests)
|
|
|
|
if (response.StatusCode == HttpStatusCode.TooManyRequests)
|
|
|
|
{
|
|
|
|
{
|
|
|
|