From 735a171e6754747366130294768175dc88597df0 Mon Sep 17 00:00:00 2001 From: tyler Date: Fri, 19 Jan 2024 13:25:48 -0500 Subject: [PATCH] Updated error message --- chat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat.go b/chat.go index 075751b..a5a8100 100644 --- a/chat.go +++ b/chat.go @@ -249,7 +249,7 @@ func (c *Client) StartChatStream(handle func(cv ChatView), handleError func(err err := sseCl.SubscribeChan("", sseEvent) if err != nil { cancel() - return pkgErr("error subscribing to chat stream", err) + return pkgErr(fmt.Sprintf("error subscribing to chat stream %s", c.chatInfo.StreamUrl()), err) } streamCtx, stop := context.WithCancel(context.Background())