Change strange expression err hint (#6128)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/6172/head
yukun 2021-06-28 15:18:12 +08:00 committed by GitHub
parent 9adea12df3
commit 7df4bf8d93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1562,7 +1562,8 @@ func (node *Proxy) Query(ctx context.Context, request *milvuspb.QueryRequest) (*
}, nil
}
err = errors.New("Not implemented because:" + err.Error())
errMsg := "Invalid expression!"
err = errors.New(errMsg)
return &milvuspb.QueryResults{
Status: &commonpb.Status{
ErrorCode: commonpb.ErrorCode_UnexpectedError,