From 93baa718c3182f3b2b59280ac141e71a4a75b29c Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Thu, 12 Jun 2008 01:06:39 +0000 Subject: Improve error messages in client metadata resolution failure path (Resolves Ticket #563) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4693 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Proxy.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/Proxy.py') diff --git a/src/lib/Proxy.py b/src/lib/Proxy.py index cabdebdc5..4c627770a 100644 --- a/src/lib/Proxy.py +++ b/src/lib/Proxy.py @@ -28,6 +28,8 @@ class RetryMethod(_Method): except xmlrpclib.ProtocolError: self.log.error("Server failure: Protocol Error") raise xmlrpclib.Fault(20, "Server Failure") + except xmlrpclib.Fault: + raise except socket.error, err: if retry == 3: self.log.error("Server failure: %s" % err) -- cgit v1.2.3-1-g7c22