未验证 提交 a4b9ebb0 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #2610 from taosdata/feature/crash_gen

Added additional protection for crash_gen tool
......@@ -1239,6 +1239,11 @@ class Task():
self._err = e
self._aborted = True
traceback.print_exc()
except BaseException as e :
self.logInfo("Python base exception encountered")
self._err = e
self._aborted = True
traceback.print_exc()
except :
self.logDebug("[=] Unexpected exception, SQL: {}".format(self._lastSql))
raise
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册