]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/testsuite.cpp
Remote /MAP (that now doesn't confuse clients ;p)
[user/henk/code/inspircd.git] / src / testsuite.cpp
index 14ea7ebeddaaffdc3ec07b9acb74908313aa3460..02d806480781e99d3e93cac1c8b0926b43ce1d80 100644 (file)
@@ -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";