From 5c4e85c45a25652a22e3b8fc573a8ae7a2e9c6b3 Mon Sep 17 00:00:00 2001 From: 226Charles <953159142@qq.com> Date: Thu, 13 Apr 2023 19:22:50 +0800 Subject: [PATCH] fix Error() --- redis/protocol/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/protocol/errors.go b/redis/protocol/errors.go index ff521ce..4d5b209 100644 --- a/redis/protocol/errors.go +++ b/redis/protocol/errors.go @@ -82,5 +82,5 @@ func (r *ProtocolErrReply) ToBytes() []byte { } func (r *ProtocolErrReply) Error() string { - return "ERR Protocol error: '" + r.Msg + return "ERR Protocol error '" + r.Msg + "' command" }