mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:28:23 +00:00
update access denied exceptions
This commit is contained in:
parent
c31aab2d64
commit
ebc95ffb9a
11 changed files with 47 additions and 42 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue