diff options
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r-- | cpp/src/Ice/ThreadPool.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp index 370a2d02482..dbc24fa904c 100644 --- a/cpp/src/Ice/ThreadPool.cpp +++ b/cpp/src/Ice/ThreadPool.cpp @@ -292,7 +292,9 @@ IceInternal::ThreadPool::run() goto repeatSelect; } - throw SocketException(__FILE__, __LINE__); + SocketException ex(__FILE__, __LINE__); + ex.error = getSocketErrno(); + throw ex; } { |