mirror of
https://github.com/duanhf2012/origin.git
synced 2026-05-18 06:57:29 +08:00
优化日志
This commit is contained in:
@@ -117,7 +117,7 @@ func (slf *Client) Run() {
|
|||||||
for{
|
for{
|
||||||
bytes,err := slf.tcpConn.ReadMsg()
|
bytes,err := slf.tcpConn.ReadMsg()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Debug("read client id %d is error",err)
|
log.Debug("read client id %d is error:%+v",slf.id,err)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
data,err:=slf.tcpService.process.Unmarshal(bytes)
|
data,err:=slf.tcpService.process.Unmarshal(bytes)
|
||||||
|
|||||||
Reference in New Issue
Block a user