diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-04-20 02:24:06 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-04-20 02:24:06 +0000 |
commit | c81c76cbaf533513761915a9f7bba8f3bab1487f (patch) | |
tree | ad65bcaad4bd1e55777e7a3c0498ce804c8e38ae /src/lib | |
parent | 341a39a0fff9f7990022e819cdc704e5ed9fb121 (diff) | |
download | bcfg2-c81c76cbaf533513761915a9f7bba8f3bab1487f.tar.gz bcfg2-c81c76cbaf533513761915a9f7bba8f3bab1487f.tar.bz2 bcfg2-c81c76cbaf533513761915a9f7bba8f3bab1487f.zip |
Downsync the latest changes from cobalt
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1847 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Client/Proxy.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Client/Proxy.py b/src/lib/Client/Proxy.py index 670976149..3bd4e404d 100644 --- a/src/lib/Client/Proxy.py +++ b/src/lib/Client/Proxy.py @@ -1,5 +1,5 @@ '''Cobalt proxy provides client access to cobalt components''' -__revision__ = '$Revision:$' +__revision__ = '$Revision$' import logging, socket, time, xmlrpclib, ConfigParser @@ -63,7 +63,8 @@ class SafeProxy: except: self.log.error("Unknown failure", exc_info=1) break - raise xmlrpclib.Fault(20, 'Server Failure') + self.log.error("%s failed:\nCould not connect to %s" % (methodName, self.component)) + raise xmlrpclib.Fault(20, "Server Failure") def __get_location(self, name): '''Perform component location lookups if needed''' |