From c660cfb4a0bb29606b70a54381c63c92f63d6927 Mon Sep 17 00:00:00 2001 From: reshke Date: Tue, 9 Jan 2024 15:11:48 +0500 Subject: [PATCH] Fix severity level of client errors (#24) --- pkg/client/request.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/client/request.go b/pkg/client/request.go index c5c4a21..f5edbf6 100644 --- a/pkg/client/request.go +++ b/pkg/client/request.go @@ -18,8 +18,7 @@ func NewYClient(c net.Conn) *YClient { } func (y *YClient) ReplyError(err error, msg string) error { - - ylogger.Zero.Debug().Err(err).Msg(msg) + ylogger.Zero.Error().Err(err).Msg(msg) _, _ = y.Conn.Write([]byte( fmt.Sprintf("%s: %v", msg, err),