Skip to content

Commit

Permalink
Merge pull request apache#4 from HavretGC/error_logged_during_connect…
Browse files Browse the repository at this point in the history
…ion_close_when_broker_is_down

AMQNET-623: Error logged during connection close when broker is down
  • Loading branch information
HavretGC authored Oct 29, 2019
2 parents fe647a9 + 0ca2d07 commit d7b0910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NMS.AMQP/Provider/Failover/FailoverProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public void Close()
{
try
{
provider.Close();
provider?.Close();
}
catch (Exception e)
{
Expand Down

0 comments on commit d7b0910

Please sign in to comment.