diff --git a/server/auth/internal/logic/useremailconfirmationlogic.go b/server/auth/internal/logic/useremailconfirmationlogic.go index 5d2e1867..0f91ab42 100644 --- a/server/auth/internal/logic/useremailconfirmationlogic.go +++ b/server/auth/internal/logic/useremailconfirmationlogic.go @@ -123,8 +123,11 @@ func (l *UserEmailConfirmationLogic) UserEmailConfirmation(req *types.RequestEma return resp.SetStatus(basic.CodeDbSqlErr) } - FinishRegister(l.svcCtx, user, token) - logx.Info("success", token.TraceId) + err = FinishRegister(l.svcCtx, user, token) + if err != nil { + logx.Error(err) + } + logx.Info("success:", token.TraceId) } default: