mirror of https://github.com/lidarr/Lidarr
fixed: HttpClient would fail with an unrelated exception
This commit is contained in:
parent
73963011ee
commit
fde38938b8
|
@ -80,6 +80,11 @@ namespace NzbDrone.Common.Http
|
|||
catch (WebException e)
|
||||
{
|
||||
httpWebResponse = (HttpWebResponse)e.Response;
|
||||
|
||||
if (httpWebResponse == null)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
Byte[] data = null;
|
||||
|
|
Loading…
Reference in New Issue