[TD-6313]<fix>: improve error handling if loading taos failed in python (#7542)
This commit is contained in:
parent
48043bd4f8
commit
3a5e4b04aa
|
@ -268,7 +268,7 @@ def _load_taos():
|
|||
try:
|
||||
return load_func[platform.system()]()
|
||||
except:
|
||||
sys.exit('unsupported platform to TDengine connector')
|
||||
raise InterfaceError('unsupported platform or failed to load taos client library')
|
||||
|
||||
|
||||
class CTaosInterface(object):
|
||||
|
|
Loading…
Reference in New Issue