packer/rpc: more logging in muxconn

This commit is contained in:
Mitchell Hashimoto 2014-01-01 21:59:00 -08:00
parent a7144d1025
commit 1dd5a13139
1 changed files with 1 additions and 0 deletions

View File

@ -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
} }
} }