You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2010/03/09 06:19:43 UTC
svn commit: r920672 -
/incubator/thrift/trunk/lib/cpp/src/server/TThreadPoolServer.cpp
Author: dreiss
Date: Tue Mar 9 05:19:43 2010
New Revision: 920672
URL: http://svn.apache.org/viewvc?rev=920672&view=rev
Log:
cpp: Log unexpected exceptions in TThreadPoolServer
Modified:
incubator/thrift/trunk/lib/cpp/src/server/TThreadPoolServer.cpp
Modified: incubator/thrift/trunk/lib/cpp/src/server/TThreadPoolServer.cpp
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/server/TThreadPoolServer.cpp?rev=920672&r1=920671&r2=920672&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/server/TThreadPoolServer.cpp (original)
+++ incubator/thrift/trunk/lib/cpp/src/server/TThreadPoolServer.cpp Tue Mar 9 05:19:43 2010
@@ -72,6 +72,9 @@ public:
} catch (std::exception &x) {
string errStr = string("TThreadPoolServer, std::exception: ") + x.what();
GlobalOutput(errStr.c_str());
+ } catch (...) {
+ GlobalOutput("TThreadPoolServer, unexpected exception in "
+ "TThreadPoolServer::Task::run()");
}
if (eventHandler != NULL) {