diff options
author | Benoit Foucher <benoit@zeroc.com> | 2002-08-21 22:12:39 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2002-08-21 22:12:39 +0000 |
commit | 54737ae90eb2c1367ef7e659a02a9a301190bec5 (patch) | |
tree | 09694b2fab3daff78a97c5ea26fe7a56c0e1b593 /cpp | |
parent | Reworked parser for nonmutating keyword. Nonmutating is now only (diff) | |
download | ice-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.cpp | 4 |
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; } // |