From c499bf0e57f9a0d2acd2ff8c9ed7cfb9db130899 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Mon, 15 Sep 2014 13:31:03 -0400 Subject: [PATCH] Oops had and where should be or --- MediaBrowser.Server.Implementations/Connect/ConnectManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs b/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs index e87828173..0f2d2e3d5 100644 --- a/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs +++ b/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs @@ -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; }