Bug 808545 - Tweak the exception message for runxpcshelltests.py profile cleanup failures; r=gps

This commit is contained in:
Ed Morley 2012-11-05 18:29:20 +00:00
parent 262df77624
commit 6bcd4d6537

View File

@ -895,7 +895,7 @@ class XPCShellTests(object):
try:
self.removeDir(self.profileDir)
except Exception:
message = "TEST-UNEXPECTED-FAIL | %s | Failed to clean up the test profile directory: %s" % (name, sys.exc_info()[0])
message = "TEST-UNEXPECTED-FAIL | %s | Failed to clean up the test profile directory: %s" % (name, sys.exc_info()[1])
self.log.error(message)
print_stdout(stdout)
print_stdout(traceback.format_exc())