Skip to content

The Free Software Media System - Server Backend & API

add an exception to logging

dkanadab5b7db1f324a
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
index 11df2bab14..d60f5c0556 100644
--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -276,9 +276,9 @@ namespace Emby.Server.Implementations.HttpServer
{
connection.Dispose();
}
- catch
+ catch (Exception ex)
{
- _logger.LogWarning("Error disposing connection");
+ _logger.LogError(ex, "Error disposing connection");
}
}
}