summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-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)