packer/rpc: more logging in muxconn
This commit is contained in:
parent
a7144d1025
commit
1dd5a13139
|
@ -448,6 +448,7 @@ func (m *MuxConn) write(from muxPacketFrom, id uint32, dataType muxPacketType, p
|
||||||
n2, err = m.rwc.Write(p)
|
n2, err = m.rwc.Write(p)
|
||||||
n += n2
|
n += n2
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
log.Printf("[ERR] %p: Stream %d (%s) write error: %s", m, id, from, err)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue