From b5b7db1f324a834cf2fce0bad4c7bb4cf7da5c29 Mon Sep 17 00:00:00 2001 From: dkanada Date: Tue, 24 Sep 2019 23:20:37 +0900 Subject: [PATCH] add an exception to logging --- Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } } }