<fix> add python connectionerror
This commit is contained in:
parent
d28a8a7e7e
commit
fa7b5f047c
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue