Browse Source

add an exception to logging

dkanada 5 years ago
parent
commit
b5b7db1f32
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Emby.Server.Implementations/HttpServer/HttpListenerHost.cs

+ 2 - 2
Emby.Server.Implementations/HttpServer/HttpListenerHost.cs

@@ -276,9 +276,9 @@ namespace Emby.Server.Implementations.HttpServer
                 {
                 {
                     connection.Dispose();
                     connection.Dispose();
                 }
                 }
-                catch
+                catch (Exception ex)
                 {
                 {
-                    _logger.LogWarning("Error disposing connection");
+                    _logger.LogError(ex, "Error disposing connection");
                 }
                 }
             }
             }
         }
         }