improved error printing
This commit is contained in:
committed by
Tamara Dahlgren
parent
8f255f9e6a
commit
8a34511789
@@ -1621,9 +1621,7 @@ def test_process():
|
||||
# Catch the error and print a summary to the log file
|
||||
# so that cdash and junit reporters know about it
|
||||
exc_type, context, traceback = sys.exc_info()
|
||||
print('Error: %s: %s' % (exc_type.__name__,
|
||||
getattr(e, 'message',
|
||||
'No error message')))
|
||||
print('Error: %s' % e)
|
||||
|
||||
# construct arguments to re-raise error from type
|
||||
args = []
|
||||
|
||||
Reference in New Issue
Block a user