Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
450e35d
)
cpp: Log unexpected exceptions in TThreadPoolServer
author
David Reiss
<dreiss@apache.org>
Tue, 9 Mar 2010 05:19:43 +0000
(
05:19
+0000)
committer
David Reiss
<dreiss@apache.org>
Tue, 9 Mar 2010 05:19:43 +0000
(
05:19
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@920672
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/server/TThreadPoolServer.cpp
patch
|
blob
|
history
diff --git
a/lib/cpp/src/server/TThreadPoolServer.cpp
b/lib/cpp/src/server/TThreadPoolServer.cpp
index
0894cfa
..
6eea3db
100644
(file)
--- a/
lib/cpp/src/server/TThreadPoolServer.cpp
+++ b/
lib/cpp/src/server/TThreadPoolServer.cpp
@@
-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) {