diff --git a/src/NzbDrone.Common/Http/TooManyRequestsException.cs b/src/NzbDrone.Common/Http/TooManyRequestsException.cs index dcb261efa..1d86740ca 100644 --- a/src/NzbDrone.Common/Http/TooManyRequestsException.cs +++ b/src/NzbDrone.Common/Http/TooManyRequestsException.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace NzbDrone.Common.Http { @@ -25,5 +25,11 @@ namespace NzbDrone.Common.Http } } } + + public TooManyRequestsException(HttpRequest request, HttpResponse response, TimeSpan retryWait) + : base(request, response) + { + RetryAfter = retryWait; + } } }