update according to the review

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
spacewander 2022-08-17 09:25:37 +08:00
parent bebefd8b80
commit 508ce517e0

View File

@ -348,7 +348,7 @@ func (sws *serverWatchStream) recvLoop() error {
// we probably should not shutdown the entire stream when
// receive an invalid command.
// so just do nothing instead.
sws.lg.Warn("invalid watch request received in gRPC stream")
sws.lg.Sugar().Infof("invalid watch request type %T received in gRPC stream", uv)
continue
}
}