From c81c76cbaf533513761915a9f7bba8f3bab1487f Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Thu, 20 Apr 2006 02:24:06 +0000 Subject: Downsync the latest changes from cobalt git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1847 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Client/Proxy.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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''' -- cgit v1.2.3-1-g7c22