2
0
Эх сурвалжийг харах

add an exception to logging

dkanada 5 жил өмнө
parent
commit
b5b7db1f32

+ 2 - 2
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");
                 }
             }
         }