mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-22 19:25:04 -04:00
fixed: HttpClient would fail with an unrelated exception
This commit is contained in:
1 parent
73963011ee
commit
fde38938b8
1 file changed
+5
@@ -80,6 +80,11 @@ public HttpResponse Execute(HttpRequest request)
|
||||
catch (WebException e)
|
||||
{
|
||||
httpWebResponse = (HttpWebResponse)e.Response;
|
||||
|
||||
if (httpWebResponse == null)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
Byte[] data = null;
|
||||
|
||||
Reference in new issue
Block a user