The Free Software Media System - Server Backend & API
Log to debug all HTTP 500 response urls
Vasily82f8345aa5ae
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.csindex e4f98acb9b..0ebdf7d178 100644--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs@@ -539,6 +539,10 @@ namespace Emby.Server.Implementations.HttpServer}finally{+ if (httpRes.StatusCode >= 500)+ {+ _logger.LogDebug("Sending HTTP Response 500 in response to {Url}", urlToLog);+ }stopWatch.Stop();var elapsed = stopWatch.Elapsed;if (elapsed.TotalMilliseconds > 500)