summaryrefslogtreecommitdiff
path: root/src/testsuite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/testsuite.cpp')
-rw-r--r--src/testsuite.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/testsuite.cpp b/src/testsuite.cpp
index 2396f142c..939c64350 100644
--- a/src/testsuite.cpp
+++ b/src/testsuite.cpp
@@ -114,7 +114,14 @@ bool TestSuite::DoThreadTests()
TestSuiteThread* tst = new TestSuiteThread();
cout << "ThreadEngine::Create on TestSuiteThread...\n";
- te->Create(tst);
+ try
+ {
+ te->Create(tst);
+ }
+ catch (CoreException &ce)
+ {
+ cout << "Failure: " << ce.GetReason() << endl;s
+ }
cout << "Type any line and press enter to end test.\n";
cin >> anything;