fix: print exception string with exception stage

This commit is contained in:
debugtalk
2019-12-29 16:23:46 +08:00
parent 66d6b9fbac
commit ba4b754290
2 changed files with 2 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ def main():
err_code |= (0 if summary and summary["success"] else 1)
except Exception as ex:
color_print("!!!!!!!!!! exception stage: {} !!!!!!!!!!".format(runner.exception_stage), "YELLOW")
color_print(str(ex), "RED")
capture_exception(ex)
err_code = 1