diff --git a/pkg/fab/events/eventhub.go b/pkg/fab/events/eventhub.go index 3ef3b9a6e7..a322ffc35a 100755 --- a/pkg/fab/events/eventhub.go +++ b/pkg/fab/events/eventhub.go @@ -183,7 +183,8 @@ func (eventHub *EventHub) Disconnect() error { // Unregister interests with server and stop the stream err := eventHub.grpcClient.UnregisterAsync(eventHub.interestedEvents) if err != nil { - return errors.WithMessage(err, "event client UnregisterAsync failed") + logger.Warnf("eventhub failed to unregister interests with server: %v", err) + // continue to attempt to stop stream and close connection } err = eventHub.grpcClient.Stop() if err != nil {