diff --git a/tests/pytest/crash_gen.py b/tests/pytest/crash_gen.py index 542bbfb05fcf857b16fed65bdd96cd7b77b6736c..53957fa96ab2081fef6824c6a9568e8a27ac3e13 100755 --- a/tests/pytest/crash_gen.py +++ b/tests/pytest/crash_gen.py @@ -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