瀏覽代碼

Change a log (#370)

Signed-off-by: yhmo <yihua.mo@zilliz.com>

Signed-off-by: yhmo <yihua.mo@zilliz.com>
groot 2 年之前
父節點
當前提交
d649ae93f4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/io/milvus/client/AbstractMilvusGrpcClient.java

+ 1 - 1
src/main/java/io/milvus/client/AbstractMilvusGrpcClient.java

@@ -1501,7 +1501,7 @@ public abstract class AbstractMilvusGrpcClient implements MilvusClient {
                 // or collection is empty, the server return ErrorCode.EmptyCollection.
                 // Here we give a general message for this case.
                 if (response.getStatus().getErrorCode() == ErrorCode.EmptyCollection) {
-                    logError("QueryRequest returns nothing: empty collection or improper expression");
+                    logWarning("QueryRequest returns nothing: empty collection or improper expression");
                     return R.failed(ErrorCode.EmptyCollection, "empty collection or improper expression");
                 }
                 return failedStatus("QueryRequest", response.getStatus());