You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/05/16 01:53:59 UTC

[iotdb] 01/01: [DEBUG] py-client test error

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch py_debug
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit e016fc494e4c9bf4310539d223f926648abc26f0
Author: HTHou <hh...@outlook.com>
AuthorDate: Mon May 16 09:53:14 2022 +0800

    [DEBUG] py-client test error
---
 client-py/iotdb/Session.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client-py/iotdb/Session.py b/client-py/iotdb/Session.py
index 780ecc7d7c..c34e480d26 100644
--- a/client-py/iotdb/Session.py
+++ b/client-py/iotdb/Session.py
@@ -1027,7 +1027,7 @@ class Session(object):
         if status.code == Session.SUCCESS_CODE:
             return 0
 
-        logger.error("error status is", status)
+        logger.error("{}: error status is {}".format(status.code, status.message))
         return -1
 
     def execute_raw_data_query(