未验证 提交 6e53e0a6 编写于 作者: L Linhe Huo 提交者: GitHub

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

上级 25a6abf0
......@@ -49,7 +49,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')
_libtaos = _load_taos()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册