1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

fixed: HttpClient would fail with an unrelated exception

This commit is contained in:
Keivan Beigi 2014-09-30 10:06:31 -07:00
parent 73963011ee
commit fde38938b8

View File

@ -80,6 +80,11 @@ public HttpResponse Execute(HttpRequest request)
catch (WebException e)
{
httpWebResponse = (HttpWebResponse)e.Response;
if (httpWebResponse == null)
{
throw;
}
}
Byte[] data = null;