summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Topics.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2012-11-19 15:27:18 +0100
committerBenoit Foucher <benoit@zeroc.com>2012-11-19 15:27:18 +0100
commit5fe0294f392276c53507785a4c979f2bedb0b61f (patch)
tree97da807dac74b9c4dccc11b82a47cf07fdf565eb /cpp/src/IceGrid/Topics.cpp
parentFixed bug ICE-4940: on Windows, the stack trace is now correct even when (diff)
downloadice-5fe0294f392276c53507785a4c979f2bedb0b61f.tar.bz2
ice-5fe0294f392276c53507785a4c979f2bedb0b61f.tar.xz
ice-5fe0294f392276c53507785a4c979f2bedb0b61f.zip
Fixes for ICE-4961: improve IceGrid interop with old nodes and registries
Diffstat (limited to 'cpp/src/IceGrid/Topics.cpp')
-rw-r--r--cpp/src/IceGrid/Topics.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/Topics.cpp b/cpp/src/IceGrid/Topics.cpp
index 2c641273ccf..389ea08d92c 100644
--- a/cpp/src/IceGrid/Topics.cpp
+++ b/cpp/src/IceGrid/Topics.cpp
@@ -601,21 +601,26 @@ ApplicationObserverTopic::applicationUpdated(int serial, const ApplicationUpdate
}
catch(const DeploymentException& ex)
{
- cerr << ex.reason << endl;
+ Ice::Error out(_logger);
+ out << "unexpected exception while instantiating application `" << info.descriptor.name << "':\n" << ex.reason;
assert(false);
}
catch(const std::string& msg)
{
- cerr << msg << endl;
+ Ice::Error out(_logger);
+ out << "unexpected exception while instantiating application `" << info.descriptor.name << "':\n" << msg;
assert(false);
}
catch(const char* msg)
{
- cerr << msg << endl;
+ Ice::Error out(_logger);
+ out << "unexpected exception while instantiating application `" << info.descriptor.name << "':\n" << msg;
assert(false);
}
catch(...)
{
+ Ice::Error out(_logger);
+ out << "unexpected exception while instantiating application `" << info.descriptor.name << "'";
assert(false);
}
try