summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Topics.cpp
diff options
context:
space:
mode:
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