mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-23 13:02:26 +00:00
Oops had and where should be or
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user