Lets not take any risks here.

pull/2104/head v2.0.0.4919
Taloth Saldono 7 years ago
parent ba01b636b9
commit ce6a5713d1

@ -78,7 +78,7 @@ namespace NzbDrone.Common.Http.Dispatchers
{ {
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…
Cancel
Save