diff options
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r-- | cpp/src/IceGrid/Database.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp index 1f777a3675f..77d79edcd96 100644 --- a/cpp/src/IceGrid/Database.cpp +++ b/cpp/src/IceGrid/Database.cpp @@ -628,7 +628,15 @@ Database::removeApplication(const string& name, AdminSessionI* session) if(session) { - for_each(entries.begin(), entries.end(), IceUtil::voidMemFun(&ServerEntry::sync)); + try + { + for_each(entries.begin(), entries.end(), IceUtil::voidMemFun(&ServerEntry::sync)); + } + catch(const DeploymentException& ex) + { + Ice::Error err(_traceLevels->logger); + err << "unexpected deployment exception while removing application `" << name << "':\n" << ex.reason; + } } else { |