diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IceUtil/Thread.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/IceUtil/Thread.cpp b/cpp/src/IceUtil/Thread.cpp index 50dc6cf5d47..4b1efb5bb58 100644 --- a/cpp/src/IceUtil/Thread.cpp +++ b/cpp/src/IceUtil/Thread.cpp @@ -140,6 +140,10 @@ WINAPI startHook(void* arg) cerr << "IceUtil::Thread::run(): uncaught exception: "; cerr << e << endl; } + catch(...) + { + cerr << "IceUtil::Thread::run(): uncaught exception" << endl; + } thread->_done(); return 0; |