Skip to content

Commit

Permalink
Update client/wsclient.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tigran Najaryan <[email protected]>
  • Loading branch information
haoqixu and tigrannajaryan authored Jan 16, 2024
1 parent cd031e2 commit 61b55a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/wsclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 260 in client/wsclient.go

View check run for this annotation

Codecov / codecov/patch

client/wsclient.go#L259-L260

Added lines #L259 - L260 were not covered by tests
}

Expand Down

0 comments on commit 61b55a0

Please sign in to comment.