Log to debug all HTTP 500 response urls
This commit is contained in:
parent
2f6879e869
commit
82f8345aa5
|
@ -539,6 +539,10 @@ namespace Emby.Server.Implementations.HttpServer
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
if (httpRes.StatusCode >= 500)
|
||||||
|
{
|
||||||
|
_logger.LogDebug("Sending HTTP Response 500 in response to {Url}", urlToLog);
|
||||||
|
}
|
||||||
stopWatch.Stop();
|
stopWatch.Stop();
|
||||||
var elapsed = stopWatch.Elapsed;
|
var elapsed = stopWatch.Elapsed;
|
||||||
if (elapsed.TotalMilliseconds > 500)
|
if (elapsed.TotalMilliseconds > 500)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user