diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-11-07 10:50:55 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-11-07 10:50:55 +0100 |
| commit | 983d38a43bd617de11724196f35822f07860a2eb (patch) | |
| tree | 0eb15c7d7a5a4c270f966b6c4a8aee60f4a1a60e /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | |
| parent | 81c135c5bb01fbfb62ce67dc091e3e9f1c6d2c10 (diff) | |
| parent | 2779d9d3bc9a9fd731e118f57d4601de4a55d032 (diff) | |
Merge branch 'master' into installationmanager
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs index e4f98acb9..cd2a7dcf0 100644 --- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs +++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs @@ -539,6 +539,11 @@ 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) |
