Added additional protection for crash_gen tool, to capture sys.exit() in lower level libraries
This commit is contained in:
parent
cf2bdb4e83
commit
3abcbc306c
|
@ -1239,6 +1239,11 @@ class Task():
|
||||||
self._err = e
|
self._err = e
|
||||||
self._aborted = True
|
self._aborted = True
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
except BaseException as e :
|
||||||
|
self.logInfo("Python base exception encountered")
|
||||||
|
self._err = e
|
||||||
|
self._aborted = True
|
||||||
|
traceback.print_exc()
|
||||||
except :
|
except :
|
||||||
self.logDebug("[=] Unexpected exception, SQL: {}".format(self._lastSql))
|
self.logDebug("[=] Unexpected exception, SQL: {}".format(self._lastSql))
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in New Issue