[Thrift] disabling catching general type exceptions in Tthreadpoolserver
the threadpoolserver should just crash if an unknown exception type is thrown.
This should probably be true for all server types, will put this on the TODO list.
reviewed by jwang
test plan: network selector servers in production
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665412 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/server/TThreadPoolServer.cpp b/lib/cpp/src/server/TThreadPoolServer.cpp
index 9f710f5..b268c45 100644
--- a/lib/cpp/src/server/TThreadPoolServer.cpp
+++ b/lib/cpp/src/server/TThreadPoolServer.cpp
@@ -56,9 +56,8 @@
cerr << "TThreadPoolServer exception: " << x.what() << endl;
} catch (std::exception &x) {
cerr << "TThreadPoolServer, std::exception: " << x.what() << endl;
- } catch (...) {
- cerr << "TThreadPoolServer uncaught exception." << endl;
}
+
if (eventHandler != NULL) {
eventHandler->clientEnd(input_, output_);
}