Skip to content

Commit

Permalink
refactor: websocket update info.
Browse files Browse the repository at this point in the history
  • Loading branch information
FGadvancer committed Apr 16, 2024
1 parent 580bd5c commit 4cd4f68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/msggateway/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ func (c *Client) readMessage() {
c.conn.SetPingHandler(c.pingHandler)

for {
log.ZDebug(c.ctx, "readMessage")
messageType, message, returnErr := c.conn.ReadMessage()
if returnErr != nil {
log.ZWarn(c.ctx, "readMessage", returnErr, "messageType", messageType)
Expand Down

0 comments on commit 4cd4f68

Please sign in to comment.