Log to debug all HTTP 500 response urls

This commit is contained in:
Vasily 2019-10-10 18:47:02 +03:00
parent 2f6879e869
commit 82f8345aa5

View File

@ -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)