From 25a6aef472aeed67397940fed372a8b9f2643eaf Mon Sep 17 00:00:00 2001 From: lubin <39183504+yunxiaoyang01@users.noreply.github.com> Date: Wed, 30 Aug 2023 14:33:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=A3=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=E9=97=AE=E9=A2=98=20(#1524)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: lubin --- server/utils/captcha/redis.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/utils/captcha/redis.go b/server/utils/captcha/redis.go index ca34a4ce0..1a1e4a514 100644 --- a/server/utils/captcha/redis.go +++ b/server/utils/captcha/redis.go @@ -30,6 +30,7 @@ func (rs *RedisStore) UseWithCtx(ctx context.Context) base64Captcha.Store { func (rs *RedisStore) Set(id string, value string) error { err := global.GVA_REDIS.Set(rs.Context, rs.PreKey+id, value, rs.Expiration).Err() if err != nil { + global.GVA_LOG.Error("RedisStoreSetError!", zap.Error(err)) return err } return nil