Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131770

Try to print message from uncaught exceptions

    XMLWordPrintable

Details

    Description

      Currently Qt Test just prints this for uncaught exceptions:

      FAIL!  : Test1::test_case1() Caught unhandled exception
         Loc: [/home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp(1953)]
      

      And it does that with catch(...), but maybe there could also be a catch for std::exception and it could also print what() to make it easier to figure out what went wrong.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            macadder Jason McDonald
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes