Fixed: Indexer being disabled due to download client rejecting it

Signed-off-by: Robin Dadswell <robin@dadswell.email>
This commit is contained in:
Mark McDowall 2020-09-29 20:40:18 -07:00 committed by Qstick
parent d6634e7da1
commit 5ca32a7e84

View file

@ -80,6 +80,11 @@ public void DownloadReport(RemoteBook remoteBook)
_logger.Trace("Release {0} no longer available on indexer.", remoteBook);
throw;
}
catch (DownloadClientRejectedReleaseException)
{
_logger.Trace("Release {0} rejected by download client, possible duplicate.", remoteAlbum);
throw;
}
catch (ReleaseDownloadException ex)
{
var http429 = ex.InnerException as TooManyRequestsException;