未验证 提交 3a5e4b04 编写于 作者: L Linhe Huo 提交者: GitHub

[TD-6313]<fix>: improve error handling if loading taos failed in python (#7542)

上级 48043bd4
......@@ -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):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册