From 980e48c22c86d5889b8ed8fc5b404aa0a512d811 Mon Sep 17 00:00:00 2001 From: scruzin Date: Fri, 22 Nov 2019 10:10:02 +1030 Subject: [PATCH] Log size along with ring buffer error. --- revid/senders.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/senders.go b/revid/senders.go index 49399ef6..914b3701 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -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] }