Refine log (#16269)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
Jiquan Long 2022-03-29 22:43:28 +08:00 committed by GitHub
parent e2e345079f
commit cd0f3cbcd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ func getDmlChannelsFunc(ctx context.Context, rc types.RootCoord) getChannelsFunc
}
resp, err := rc.DescribeCollection(ctx, req)
if err != nil {
log.Warn("DescribeCollection", zap.Error(err))
log.Warn("failed to describe collection", zap.Error(err), zap.Int64("collection", collectionID))
return nil, err
}
if resp.Status.ErrorCode != 0 {