summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2002-08-21 22:12:39 +0000
committerBenoit Foucher <benoit@zeroc.com>2002-08-21 22:12:39 +0000
commit54737ae90eb2c1367ef7e659a02a9a301190bec5 (patch)
tree09694b2fab3daff78a97c5ea26fe7a56c0e1b593 /cpp
parentReworked parser for nonmutating keyword. Nonmutating is now only (diff)
downloadice-54737ae90eb2c1367ef7e659a02a9a301190bec5.tar.bz2
ice-54737ae90eb2c1367ef7e659a02a9a301190bec5.tar.xz
ice-54737ae90eb2c1367ef7e659a02a9a301190bec5.zip
Added warning message if we can't talk to the locator
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/Ice/LocatorInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Ice/LocatorInfo.cpp b/cpp/src/Ice/LocatorInfo.cpp
index 454e1385597..4c5049975ad 100644
--- a/cpp/src/Ice/LocatorInfo.cpp
+++ b/cpp/src/Ice/LocatorInfo.cpp
@@ -245,12 +245,14 @@ IceInternal::LocatorInfo::getEndpoints(const ReferencePtr& ref, bool& cached)
endpoints = object->__reference()->endpoints;
}
}
- catch(LocalException&)
+ catch(LocalException& ex)
{
//
// Ignore. The proxy will most likely get empty
// endpoints and raise a NoEndpointException().
//
+ Warning out(ref->instance->logger());
+ out << "couldn't contact the locator:\n" << ex;
}
//