From 707df67deb3230a62774cdaab9b5d4a6234930be Mon Sep 17 00:00:00 2001
From: Garet Halliday <me@garet.holiday>
Date: Mon, 6 Nov 2023 15:02:05 -0600
Subject: [PATCH] fix panic

---
 contrib/extension/subscription/client.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/extension/subscription/client.go b/contrib/extension/subscription/client.go
index 86a34c9..22d65d7 100644
--- a/contrib/extension/subscription/client.go
+++ b/contrib/extension/subscription/client.go
@@ -87,6 +87,7 @@ func (c *WrapClient) Subscribe(ctx context.Context, namespace string, channel an
 		// BUG: a worse is better solution... it means that when this fills, you might receive subscriptions in an undefined error
 		onmsg:   make(chan json.RawMessage, 32),
 		subdone: make(chan struct{}),
+		readErr: make(chan error),
 	}
 
 	// will get the type of the event
-- 
GitLab