Commit 06d12773 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

packer/rpc: improve logging for the MuxConn

parent 82bf5fc7
......@@ -407,7 +407,7 @@ func (s *Stream) Write(p []byte) (int, error) {
s.mu.Unlock()
if state != streamStateEstablished {
return 0, fmt.Errorf("Stream in bad state to send: %d", state)
return 0, fmt.Errorf("Stream %d in bad state to send: %d", s.id, state)
}
return s.mux.write(s.id, muxPacketData, p)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment