diff --git a/pkg/common/db/controller/user.go b/pkg/common/db/controller/user.go index 9a3944467..f279df807 100644 --- a/pkg/common/db/controller/user.go +++ b/pkg/common/db/controller/user.go @@ -58,7 +58,7 @@ func (u *userDatabase) FindWithError(ctx context.Context, userIDs []string) (use return } if len(users) != len(userIDs) { - err = errs.ErrRecordNotFound.Wrap() + err = errs.ErrRecordNotFound.Wrap("userID not found") } return }