mirror of https://bitbucket.org/ausocean/av.git
Only log a debug message when ring.ErrTimeout occurs, not a warning.
This commit is contained in:
parent
c247e63bd0
commit
a90b35b319
|
@ -515,7 +515,7 @@ loop:
|
|||
case nil:
|
||||
// Do nothing.
|
||||
case ring.ErrTimeout:
|
||||
r.config.Logger.Log(logger.Warning, pkg+"ring buffer read timeout")
|
||||
r.config.Logger.Log(logger.Debug, pkg+"ring buffer read timeout")
|
||||
continue
|
||||
default:
|
||||
r.config.Logger.Log(logger.Error, pkg+"unexpected error", "error", err.Error())
|
||||
|
|
Loading…
Reference in New Issue