错误输出
This commit is contained in:
parent
350ff1e0d7
commit
832d06b778
@ -209,7 +209,7 @@ locp:
|
||||
for _, msg := range msgs {
|
||||
//data, err = proto.Marshal(msg)
|
||||
if err = this.wsConn.WriteMessage(websocket.BinaryMessage, msg); err != nil {
|
||||
this.gateway.Errorf("agent:%s uId:%d WriteMessage err:%v", this.sessionId, this.uId, err)
|
||||
this.gateway.Errorf("agent:%s uId:%s WriteMessage err:%v", this.sessionId, this.uId, err)
|
||||
go this.Close()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user