Merge pull request #2610 from taosdata/feature/crash_gen

Added additional protection for crash_gen tool
This commit is contained in:
Shengliang Guan 2020-07-09 16:17:45 +08:00 committed by GitHub
commit a4b9ebb096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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