mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 19:47:14 +08:00
fix: print exception string with exception stage
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
- fix: eval validator python script before validating
|
- fix: eval validator python script before validating
|
||||||
- fix: do not strip string content when preparing lazy data
|
- fix: do not strip string content when preparing lazy data
|
||||||
- fix: catch ApiNotFound exception when loading testcases
|
- fix: catch ApiNotFound exception when loading testcases
|
||||||
|
- fix: print exception string with exception stage
|
||||||
|
|
||||||
## 2.4.8 (2019-12-25)
|
## 2.4.8 (2019-12-25)
|
||||||
|
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ def main():
|
|||||||
err_code |= (0 if summary and summary["success"] else 1)
|
err_code |= (0 if summary and summary["success"] else 1)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
color_print("!!!!!!!!!! exception stage: {} !!!!!!!!!!".format(runner.exception_stage), "YELLOW")
|
color_print("!!!!!!!!!! exception stage: {} !!!!!!!!!!".format(runner.exception_stage), "YELLOW")
|
||||||
|
color_print(str(ex), "RED")
|
||||||
capture_exception(ex)
|
capture_exception(ex)
|
||||||
err_code = 1
|
err_code = 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user