Procházet zdrojové kódy

add an exception to logging

dkanada před 5 roky
rodič
revize
b5b7db1f32

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