From 1dd5a13139c1639b1b937fd7a52d3e308e48af17 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 1 Jan 2014 21:59:00 -0800 Subject: [PATCH] packer/rpc: more logging in muxconn --- packer/rpc/muxconn.go | 1 + 1 file changed, 1 insertion(+) diff --git a/packer/rpc/muxconn.go b/packer/rpc/muxconn.go index d4ce526e7..d6df9f9e3 100644 --- a/packer/rpc/muxconn.go +++ b/packer/rpc/muxconn.go @@ -448,6 +448,7 @@ func (m *MuxConn) write(from muxPacketFrom, id uint32, dataType muxPacketType, p n2, err = m.rwc.Write(p) n += n2 if err != nil { + log.Printf("[ERR] %p: Stream %d (%s) write error: %s", m, id, from, err) break } }