add an exception to logging

This commit is contained in:
dkanada 2019-09-24 23:20:37 +09:00
parent ab7e697f30
commit b5b7db1f32

View File

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