summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r--cpp/src/Ice/ThreadPool.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp
index c0b4385453c..545d1e9edfd 100644
--- a/cpp/src/Ice/ThreadPool.cpp
+++ b/cpp/src/Ice/ThreadPool.cpp
@@ -752,12 +752,17 @@ IceInternal::ThreadPool::EventHandlerThread::run()
out << "exception in `" << _pool->_prefix << "':\n" << ex;
promote = true;
}
+ catch(const std::exception& ex)
+ {
+ Error out(_pool->_instance->logger());
+ out << "std::exception in `" << _pool->_prefix << "':\n" << ex.what();
+ }
catch(...)
{
Error out(_pool->_instance->logger());
out << "unknown exception in `" << _pool->_prefix << "'";
promote = true;
- }
+ }
if(promote && _pool->_sizeMax > 1)
{