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 {