diff options
Diffstat (limited to 'src/testsuite.cpp')
-rw-r--r-- | src/testsuite.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/testsuite.cpp b/src/testsuite.cpp index 14ea7ebed..02d806480 100644 --- a/src/testsuite.cpp +++ b/src/testsuite.cpp @@ -116,11 +116,18 @@ bool TestSuite::DoThreadTests() cout << "ThreadEngine::Create on TestSuiteThread...\n"; try { - te->Create(tst); + try + { + te->Create(tst); + } + catch (CoreException &ce) + { + cout << "Failure: " << ce.GetReason() << endl; + } } - catch (CoreException &ce) + catch (...) { - cout << "Failure: " << ce.GetReason() << endl; + cout << "Failure, unhandled exception\n"; } cout << "Type any line and press enter to end test.\n"; |