Skip to content

Commit

Permalink
Fix severity level of client errors (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke authored Jan 9, 2024
1 parent abf0f7c commit c660cfb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/client/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit c660cfb

Please sign in to comment.