Changeset 122657 in webkit
- Timestamp:
- Jul 13, 2012 7:09:44 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r122648 r122657 1 2012-07-13 Dirk Pranke <dpranke@chromium.org> 2 3 nrwt: actually print the exception name and message for otherwise unhandled exceptions 4 https://bugs.webkit.org/show_bug.cgi?id=91305 5 6 Reviewed by Adam Barth. 7 8 Two more places where I was printing the stack trace but not the 9 exception itself :(. These two spots can't easily be 10 unit-tested, but I tested them by hand. 11 12 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 13 (run): 14 (main): 15 1 16 2012-07-13 Josh Hawn <jhawn@apple.com> 2 17 -
trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
r122615 r122657 133 133 exception_type, exception_value, exception_traceback = sys.exc_info() 134 134 if exception_type not in (KeyboardInterrupt, TestRunInterruptedException, WorkerException): 135 print >> sys.stderr, '\n%s raised: %s' % (exception_type.__name__, exception_value) 135 136 stack_utils.log_traceback(_log.error, exception_traceback) 136 137 raise … … 471 472 print >> sys.stderr, str(e) 472 473 return EXCEPTIONAL_EXIT_STATUS 473 except: 474 except Exception, e: 475 print >> sys.stderr, '\n%s raised: %s' % (e.__class__.__name__, str(e)) 474 476 traceback.print_exc(file=sys.stderr) 475 477 raise
Note: See TracChangeset
for help on using the changeset viewer.