From 61b55a0916371114e43c8628fce46c77f30d810e Mon Sep 17 00:00:00 2001 From: xu0o0 Date: Wed, 17 Jan 2024 01:24:44 +0800 Subject: [PATCH] Update client/wsclient.go Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> --- client/wsclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/wsclient.go b/client/wsclient.go index ba0f31f1..4d274f29 100644 --- a/client/wsclient.go +++ b/client/wsclient.go @@ -256,7 +256,7 @@ func (c *wsClient) runOneCycle(ctx context.Context) { case <-c.sender.IsStopped(): // sender will send close message to initiate the close handshake if err := c.sender.Err(); err != nil && err != websocket.ErrCloseSent { - c.common.Logger.Debugf("failed to send close message, close without the handshake.") + c.common.Logger.Debugf("Error stopping the sender: %v", err) break }