Merge pull request #1244 from joshuaboniface/hotfix-authapi

Hotfix authapi
This commit is contained in:
Joshua M. Boniface
2019-04-18 17:58:54 -04:00
committed by GitHub
3 changed files with 31 additions and 1 deletions

View File

@@ -203,6 +203,7 @@ namespace Emby.Server.Implementations.HttpServer
case DirectoryNotFoundException _:
case FileNotFoundException _:
case ResourceNotFoundException _: return 404;
case MethodNotAllowedException _: return 405;
case RemoteServiceUnavailableException _: return 502;
default: return 500;
}