From aabbdb1143e1f75c7fd897ff93de2c37114502f1 Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Mon, 13 Jul 2020 13:12:27 -0700 Subject: [PATCH] Update pubsub.go --- pubsub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubsub.go b/pubsub.go index 61b12ea..8a97d39 100644 --- a/pubsub.go +++ b/pubsub.go @@ -31,7 +31,7 @@ var ( // ErrSubscriptionCancelled may be returned when a subscription Next() is called after the // subscription has been cancelled. - ErrSubscriptionCancelled = errors.New("subscription cancelled by calling sub.Cancel()") + ErrSubscriptionCancelled = errors.New("subscription cancelled") ) var log = logging.Logger("pubsub")