mirror of https://bitbucket.org/ausocean/av.git
Log size along with ring buffer error.
This commit is contained in:
parent
7da3778485
commit
980e48c22c
|
@ -252,7 +252,7 @@ func (s *mtsSender) Write(d []byte) (int, error) {
|
|||
s.ring.Flush()
|
||||
}
|
||||
if err != nil {
|
||||
s.log(logger.Warning, pkg+"mtsSender: ringBuffer write error", "error", err.Error())
|
||||
s.log(logger.Warning, pkg+"mtsSender: ringBuffer write error", "error", err.Error(), "size", len(s.buf))
|
||||
}
|
||||
s.buf = s.buf[:0]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue