mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
packer/rpc: improve logging for the MuxConn
This commit is contained in:
parent
82bf5fc79e
commit
06d12773eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue