don't log std::exceptions ourselves, let cppunit do it as it outputs more details
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -107,6 +107,13 @@ public:
|
||||
{
|
||||
return functor();
|
||||
}
|
||||
catch ( std::exception& e )
|
||||
{
|
||||
// cppunit deals with the standard exceptions itself, let it do as
|
||||
// it output more details (especially for std::exception-derived
|
||||
// CppUnit::Exception) than we do
|
||||
throw;
|
||||
}
|
||||
catch ( ... )
|
||||
{
|
||||
reportError(context, CppUnit::Message("Uncaught exception",
|
||||
|
Reference in New Issue
Block a user