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:58 UTC

[iotdb] branch py_debug created (now e016fc494e)

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

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


      at e016fc494e [DEBUG] py-client test error

This branch includes the following new commits:

     new e016fc494e [DEBUG] py-client test error

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by ha...@apache.org.
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(