proto modify

This commit is contained in:
wangchuxiao
2023-03-03 18:44:14 +08:00
parent d06235d28e
commit 3a23153e48
8 changed files with 348 additions and 350 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ func (c *cache) SetMessageToCache(ctx context.Context, userID string, msgList []
}
}
if len(failedMsgs) != 0 {
return len(failedMsgs), errors.New(fmt.Sprintf("set msg to cache failed, failed lists: %q,%s", failedList, tracelog.GetOperationID(ctx)))
return len(failedMsgs), errors.New(fmt.Sprintf("set msg to cache failed, failed lists: %q,%s", failedMsgs, tracelog.GetOperationID(ctx)))
}
_, err := pipe.Exec(ctx)
return 0, err