mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
log test
This commit is contained in:
parent
41f02e51f6
commit
f6189a281e
@ -59,7 +59,7 @@ func (ws *WServer) readMsg(conn *websocket.Conn) {
|
||||
for {
|
||||
msgType, msg, err := conn.ReadMessage()
|
||||
if err != nil {
|
||||
log.ErrorByKv("WS ReadMsg error", "", "userIP", conn.RemoteAddr().String(), "userUid", ws.getUserUid(conn), "error", err)
|
||||
log.ErrorByKv("WS ReadMsg error", "", "userIP", conn.RemoteAddr().String(), "userUid", ws.getUserUid(conn), "error", err, "conn", conn)
|
||||
ws.delUserConn(conn)
|
||||
return
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user