[TEST] added a simple Wt test

This commit is contained in:
emeric
2015-09-27 20:49:49 +02:00
parent 943bac2b47
commit 1a0b12e223
2 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -87,11 +87,11 @@ int main(int argc, char* argv[])
}
catch( Wt::WServer::Exception& e)
{
LMS_LOG(MAIN, FATAL) << "Caught a WServer::Exception: " << e.what();
std::cerr << "Caught a WServer::Exception: " << e.what();
}
catch( std::exception& e)
{
LMS_LOG(MAIN, FATAL) << "Caught std::exception: " << e.what();
std::cerr << "Caught std::exception: " << e.what();
}
return res;