summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/ConnectionI.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/cpp/src/Ice/ConnectionI.cpp b/cpp/src/Ice/ConnectionI.cpp
index 2abec6e1a82..d75a0dd2222 100644
--- a/cpp/src/Ice/ConnectionI.cpp
+++ b/cpp/src/Ice/ConnectionI.cpp
@@ -1981,7 +1981,15 @@ Ice::ConnectionI::finish(bool close)
if(close)
{
- _transceiver->close();
+ try
+ {
+ _transceiver->close();
+ }
+ catch(const Ice::LocalException& ex)
+ {
+ Error out(_logger);
+ out << "unexpected connection exception:\n" << ex << '\n' << _desc;
+ }
}
if(_startCallback)