Log error as error
This commit is contained in:
parent
afb14b6705
commit
8f470b30d7
|
@ -156,7 +156,7 @@ func (s *Server) StreamAggregatedResources(stream ADSStream) error {
|
||||||
|
|
||||||
err := s.process(stream, reqCh)
|
err := s.process(stream, reqCh)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
s.Logger.Debug("Error handling ADS stream", "error", err)
|
s.Logger.Error("Error handling ADS stream", "error", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// prevents writing to a closed channel if send failed on blocked recv
|
// prevents writing to a closed channel if send failed on blocked recv
|
||||||
|
|
Loading…
Reference in a new issue