improved error printing

This commit is contained in:
Gregory Becker
2020-01-17 16:12:24 -08:00
committed by Tamara Dahlgren
parent 8f255f9e6a
commit 8a34511789
2 changed files with 2 additions and 4 deletions

View File

@@ -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 = []