mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-09 06:23:52 +08:00
add print exception
This commit is contained in:
@@ -197,6 +197,9 @@ class Runner(object):
|
|||||||
response_time=0,
|
response_time=0,
|
||||||
exception=ex
|
exception=ex
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
logging.exception(
|
||||||
|
"Exception occured in testcase: {}".format(testcase_dict.get("name")))
|
||||||
break
|
break
|
||||||
|
|
||||||
output_variables_list = config_dict.get("output", [])
|
output_variables_list = config_dict.get("output", [])
|
||||||
|
|||||||
Reference in New Issue
Block a user