From b155e571ff7b9a68e0e20887365a70d5311e897f Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Fri, 1 Sep 2023 16:01:55 +0800 Subject: [PATCH] fix --- server/info/internal/logic/infologic.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/info/internal/logic/infologic.go b/server/info/internal/logic/infologic.go index 828f10ba..300751ee 100644 --- a/server/info/internal/logic/infologic.go +++ b/server/info/internal/logic/infologic.go @@ -116,6 +116,7 @@ func (l *InfoLogic) Info(req *types.UserInfoRequest, userinfo *auth.UserInfo) (r raw := l.svcCtx.MysqlConn.Raw(sqlstr) if raw.Error != nil { + logx.Error(cond) if raw.Error == gorm.ErrRecordNotFound { continue } else {