aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
diff options
context:
space:
mode:
authorVasily <just.one.man@yandex.ru>2019-10-10 18:47:02 +0300
committerVasily <just.one.man@yandex.ru>2019-10-14 13:22:53 +0300
commit82f8345aa5ae65a8a934a4f2d29afdbc3836d875 (patch)
treeffad4940775b8dee89ab1f8a89dd2d0697bd39a3 /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
parent2f6879e8699e53c3d140dacd9af8c207bdf8cb74 (diff)
Log to debug all HTTP 500 response urls
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/HttpListenerHost.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
index e4f98acb9..0ebdf7d17 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)