Log error as error

This commit is contained in:
freddygv 2020-08-28 13:11:55 -06:00
parent afb14b6705
commit 8f470b30d7

View file

@ -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