<fix> add python connectionerror

This commit is contained in:
liuyq-617 2020-10-19 16:15:54 +08:00
parent d28a8a7e7e
commit fa7b5f047c
1 changed files with 1 additions and 0 deletions

View File

@ -225,6 +225,7 @@ class CTaosInterface(object):
if connection.value == None:
print('connect to TDengine failed')
raise ConnectionError("connect to TDengine failed")
# sys.exit(1)
#else:
# print('connect to TDengine success')