1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-27 00:02:25 +00:00

Lets not take any risks here.

This commit is contained in:
Taloth Saldono 2017-08-03 00:20:48 +02:00 committed by Qstick
parent bd62a20ddb
commit 846b9f72e0

View file

@ -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);
} }