From 3ccb6bddef8980569e95a189fe0f63b0750e5e41 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 26 Oct 2014 23:06:01 -0400 Subject: connect updates --- MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs') diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs index 98f895616..4972736ef 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs @@ -91,7 +91,8 @@ namespace MediaBrowser.Server.Implementations.HttpServer {typeof (ResourceNotFoundException), 404}, {typeof (FileNotFoundException), 404}, {typeof (DirectoryNotFoundException), 404}, - {typeof (Implementations.Security.AuthenticationException), 401} + {typeof (Implementations.Security.AuthenticationException), 401}, + {typeof (UnauthorizedAccessException), 401} }; HostConfig.Instance.DebugMode = true; -- cgit v1.2.3