mirror of
https://github.com/Radarr/Radarr
synced 2024-12-28 02:40:01 +00:00
fixed: HttpClient would fail with an unrelated exception
This commit is contained in:
parent
73963011ee
commit
fde38938b8
1 changed files with 5 additions and 0 deletions
|
@ -80,6 +80,11 @@ public HttpResponse Execute(HttpRequest request)
|
|||
catch (WebException e)
|
||||
{
|
||||
httpWebResponse = (HttpWebResponse)e.Response;
|
||||
|
||||
if (httpWebResponse == null)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
Byte[] data = null;
|
||||
|
|
Loading…
Reference in a new issue