mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
fix: display exceptions occurred in debugtalk.py
This commit is contained in:
@@ -287,7 +287,7 @@ class Runner(object):
|
|||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
meta_datas = test_runner.meta_datas
|
meta_datas = test_runner.meta_datas
|
||||||
self.meta_datas.append(meta_datas)
|
self.meta_datas.append(meta_datas)
|
||||||
raise exceptions.MyBaseFailure(ex)
|
raise
|
||||||
|
|
||||||
def run_test(self, test_dict):
|
def run_test(self, test_dict):
|
||||||
""" run single teststep of testcase.
|
""" run single teststep of testcase.
|
||||||
@@ -330,7 +330,7 @@ class Runner(object):
|
|||||||
# api
|
# api
|
||||||
try:
|
try:
|
||||||
self._run_test(test_dict)
|
self._run_test(test_dict)
|
||||||
except:
|
except Exception:
|
||||||
raise
|
raise
|
||||||
finally:
|
finally:
|
||||||
self.meta_datas = self.__get_test_data()
|
self.meta_datas = self.__get_test_data()
|
||||||
|
|||||||
Reference in New Issue
Block a user