Lets not take any risks here.

pull/6/head
Taloth Saldono 7 years ago committed by Qstick
parent bd62a20ddb
commit 846b9f72e0

@ -78,7 +78,7 @@ namespace NzbDrone.Common.Http.Dispatchers
{
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);
}

Loading…
Cancel
Save