From 63cf4a60aec5fdfcef621edb68b522cd08c64390 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Mon, 13 Mar 2023 13:05:50 +0800 Subject: [PATCH] ctx error --- internal/common/check/user.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/common/check/user.go b/internal/common/check/user.go index 45b78cf81..3c8335d69 100644 --- a/internal/common/check/user.go +++ b/internal/common/check/user.go @@ -30,6 +30,7 @@ func (u *UserCheck) getConn() (*grpc.ClientConn, error) { func (u *UserCheck) GetUsersInfos(ctx context.Context, userIDs []string, complete bool) ([]*sdkws.UserInfo, error) { cc, err := u.getConn() if err != nil { + log.Error("", "call getConn err", err.Error()) return nil, err } resp, err := user.NewUserClient(cc).GetDesignateUsers(ctx, &user.GetDesignateUsersReq{