From 39c35e840d157fcb231b18c8940e5fd4cf8f1115 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 23 Mar 2023 19:06:35 +0800 Subject: [PATCH] cache --- pkg/common/db/cache/redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/cache/redis.go b/pkg/common/db/cache/redis.go index 568331094..6a5d01227 100644 --- a/pkg/common/db/cache/redis.go +++ b/pkg/common/db/cache/redis.go @@ -251,7 +251,7 @@ func (c *cache) SetMessageToCache(ctx context.Context, userID string, msgList [] } } if len(failedMsgs) != 0 { - return len(failedMsgs), fmt.Errorf("set msg to cache failed, failed lists: %v, %s", failedMsgs, tracelog.GetOperationID(ctx)) + return len(failedMsgs), fmt.Errorf("set msg to cache failed, failed lists: %v, %s", failedMsgs, userID) } _, err := pipe.Exec(ctx) return 0, err