summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/ServerI.cpp')
-rw-r--r--cpp/src/IceGrid/ServerI.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/ServerI.cpp b/cpp/src/IceGrid/ServerI.cpp
index a313e1f9388..2c0ea9ce4ff 100644
--- a/cpp/src/IceGrid/ServerI.cpp
+++ b/cpp/src/IceGrid/ServerI.cpp
@@ -742,8 +742,11 @@ ServerI::setEnabled(bool enabled, const ::Ice::Current&)
}
catch(const Ice::LocalException& ex)
{
- Ice::Warning out(_node->getTraceLevels()->logger);
- out << "unexpected observer exception:\n" << ex;
+ //
+ // Expected if the master IceGrid registry is down.
+ //
+ //Ice::Warning out(_node->getTraceLevels()->logger);
+ //out << "unexpected observer exception:\n" << ex;
}
}
}
@@ -2168,8 +2171,11 @@ ServerI::setStateNoSync(InternalServerState st, const std::string& reason)
}
catch(const Ice::LocalException& ex)
{
- Ice::Warning out(_node->getTraceLevels()->logger);
- out << "unexpected observer exception:\n" << ex;
+ //
+ // Expected if the master IceGrid registry is down.
+ //
+ //Ice::Warning out(_node->getTraceLevels()->logger);
+ //out << "unexpected observer exception:\n" << ex;
}
}
}