You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by mi...@apache.org on 2019/10/29 17:27:43 UTC
[activemq-nms-amqp] branch master updated: AMQNET-623: Error logged
during connection close when broker is down
This is an automated email from the ASF dual-hosted git repository.
michaelpearce pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-nms-amqp.git
The following commit(s) were added to refs/heads/master by this push:
new 0ca2d07 AMQNET-623: Error logged during connection close when broker is down
new f309844 Merge pull request #46 from HavretGC/error_logged_during_connection_close_when_broker_is_down
0ca2d07 is described below
commit 0ca2d07ccb2a4686be98b63d4504192396d52de2
Author: Havret <h4...@gmail.com>
AuthorDate: Mon Oct 28 12:36:47 2019 +0100
AMQNET-623: Error logged during connection close when broker is down
---
src/NMS.AMQP/Provider/Failover/FailoverProvider.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/NMS.AMQP/Provider/Failover/FailoverProvider.cs b/src/NMS.AMQP/Provider/Failover/FailoverProvider.cs
index 923ab83..3a95a27 100644
--- a/src/NMS.AMQP/Provider/Failover/FailoverProvider.cs
+++ b/src/NMS.AMQP/Provider/Failover/FailoverProvider.cs
@@ -255,7 +255,7 @@ namespace Apache.NMS.AMQP.Provider.Failover
{
try
{
- provider.Close();
+ provider?.Close();
}
catch (Exception e)
{