mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-27 23:16:58 -04:00
Fixed: Indexer failures not logged to history
This commit is contained in:
@@ -1,17 +1,23 @@
|
||||
using NzbDrone.Common.Exceptions;
|
||||
using NzbDrone.Common.Exceptions;
|
||||
|
||||
namespace NzbDrone.Core.Indexers.Exceptions
|
||||
{
|
||||
public class RequestLimitReachedException : NzbDroneException
|
||||
{
|
||||
public RequestLimitReachedException(string message, params object[] args)
|
||||
private readonly IndexerResponse _indexerResponse;
|
||||
|
||||
public RequestLimitReachedException(IndexerResponse response, string message, params object[] args)
|
||||
: base(message, args)
|
||||
{
|
||||
_indexerResponse = response;
|
||||
}
|
||||
|
||||
public RequestLimitReachedException(string message)
|
||||
public RequestLimitReachedException(IndexerResponse response, string message)
|
||||
: base(message)
|
||||
{
|
||||
_indexerResponse = response;
|
||||
}
|
||||
|
||||
public IndexerResponse Response => _indexerResponse;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user