Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Merge "Fixed format_exception vs format_exec bug"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Feb 15, 2017
2 parents 525e44c + df8e63d commit c3f341e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cafe/drivers/unittest/runner_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ def run(self):
for record in handler._records:
if record.exc_info:
record.msg = "{0}\n{1}".format(
record.msg, traceback.format_exc(record.exc_info))
record.msg, traceback.format_exception(
*record.exc_info))
record.exc_info = None
dic = {
"result": result,
Expand Down

0 comments on commit c3f341e

Please sign in to comment.