summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-01-18 16:31:48 +0000
committerMarc Laukien <marc@zeroc.com>2004-01-18 16:31:48 +0000
commite9ea15e596ece24dd08ff0164d233fbe12a385bd (patch)
treeb0803a9268da4a157358546bd06a05d92f42950f /cpp/src
parentFix (diff)
downloadice-e9ea15e596ece24dd08ff0164d233fbe12a385bd.tar.bz2
ice-e9ea15e596ece24dd08ff0164d233fbe12a385bd.tar.xz
ice-e9ea15e596ece24dd08ff0164d233fbe12a385bd.zip
fix
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IcePatch/Server.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/cpp/src/IcePatch/Server.cpp b/cpp/src/IcePatch/Server.cpp
index e8140c06b55..60a06d91d16 100644
--- a/cpp/src/IcePatch/Server.cpp
+++ b/cpp/src/IcePatch/Server.cpp
@@ -185,10 +185,13 @@ IcePatch::Updater::run()
catch(const Exception& ex)
{
//
- // Log other exceptions.
+ // Log other exceptions only if we are not destroyed.
//
- Error out(_logger);
- out << "exception during update:\n" << ex;
+ if(!_destroy)
+ {
+ Error out(_logger);
+ out << "exception during update:\n" << ex;
+ }
}
if(_destroy)