add print exception

This commit is contained in:
httprunner
2017-11-15 18:46:57 +08:00
parent 107530373c
commit 32f95b0fa7

View File

@@ -197,6 +197,9 @@ class Runner(object):
response_time=0,
exception=ex
)
else:
logging.exception(
"Exception occured in testcase: {}".format(testcase_dict.get("name")))
break
output_variables_list = config_dict.get("output", [])