mirror of
https://github.com/jellyfin/jellyfin
synced 2024-11-05 18:59:30 +00:00
Oops had and where should be or
This commit is contained in:
parent
e360f01f26
commit
c499bf0e57
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ namespace MediaBrowser.Server.Implementations.Connect
|
|||
{
|
||||
var webEx = (WebException) ex.InnerException;
|
||||
|
||||
if (webEx != null && webEx.Status != WebExceptionStatus.ProtocolError && ((HttpWebResponse)webEx.Response).StatusCode != HttpStatusCode.NotFound)
|
||||
if (webEx == null || (webEx.Status != WebExceptionStatus.ProtocolError && ((HttpWebResponse)webEx.Response).StatusCode != HttpStatusCode.NotFound))
|
||||
{
|
||||
throw;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue