From aa570330668c0e3fbdb2aa1cde686e9457222d28 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11> Date: Thu, 13 Dec 2007 22:31:52 +0000 Subject: [PATCH] r1397@opsdev009 (orig r74201): pfung | 2007-12-13 14:30:47 -0800 [Thrift] message debugging for std::exceptions std::exceptions did not have debug messages printed reviewed by dreiss test plan: compiles git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@717 41a61cd8-c433-0410-bb1c-e256eeef9e11 --- lib/cpp/src/server/TThreadPoolServer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cpp/src/server/TThreadPoolServer.cpp b/lib/cpp/src/server/TThreadPoolServer.cpp index 355bf8e..9f710f5 100644 --- a/lib/cpp/src/server/TThreadPoolServer.cpp +++ b/lib/cpp/src/server/TThreadPoolServer.cpp @@ -54,6 +54,8 @@ public: //cerr << "TThreadPoolServer client died: " << ttx.what() << endl; } catch (TException& x) { cerr << "TThreadPoolServer exception: " << x.what() << endl; + } catch (std::exception &x) { + cerr << "TThreadPoolServer, std::exception: " << x.what() << endl; } catch (...) { cerr << "TThreadPoolServer uncaught exception." << endl; } -- 2.11.4.GIT