mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-27 08:12:48 +00:00
Lets not take any risks here.
This commit is contained in:
parent
bd62a20ddb
commit
846b9f72e0
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public HttpResponse GetResponse(HttpRequest request, CookieContainer cookies)
|
||||||
{
|
{
|
||||||
throw new WebException($"DNS Name Resolution Failure: '{webRequest.RequestUri.Host}'", e.Status);
|
throw new WebException($"DNS Name Resolution Failure: '{webRequest.RequestUri.Host}'", e.Status);
|
||||||
}
|
}
|
||||||
else if (e.Status == WebExceptionStatus.SendFailure && e.ToString().Contains("The authentication or decryption has failed."))
|
else if (e.ToString().Contains("The authentication or decryption has failed."))
|
||||||
{
|
{
|
||||||
throw new TlsFailureException(webRequest, e);
|
throw new TlsFailureException(webRequest, e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue