mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-06 02:06:21 +00:00
update access denied exceptions
This commit is contained in:
@@ -92,7 +92,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
||||
{typeof (FileNotFoundException), 404},
|
||||
{typeof (DirectoryNotFoundException), 404},
|
||||
{typeof (SecurityException), 401},
|
||||
{typeof (UnauthorizedAccessException), 401}
|
||||
{typeof (UnauthorizedAccessException), 500}
|
||||
};
|
||||
|
||||
HostConfig.Instance.DebugMode = true;
|
||||
|
||||
Reference in New Issue
Block a user