From d5a290c60ddb69a93d47a6805551d417548a767a Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Sat, 14 Dec 2024 19:30:16 -0700 Subject: [PATCH] sh --- cmd/testws/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/testws/main.go b/cmd/testws/main.go index bf4ac77..930e53f 100644 --- a/cmd/testws/main.go +++ b/cmd/testws/main.go @@ -27,7 +27,8 @@ func main() { for { mt, b, err := c.Read(ctx) if err != nil { - panic(err) + log.Println(err) + return } log.Printf("[%s] %s", mt, b) }