summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Proxy.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Proxy.py b/src/lib/Proxy.py
index 4c627770a..45ddf192e 100644
--- a/src/lib/Proxy.py
+++ b/src/lib/Proxy.py
@@ -25,8 +25,9 @@ class RetryMethod(_Method):
for retry in range(max_retries):
try:
return _Method.__call__(self, *args)
- except xmlrpclib.ProtocolError:
- self.log.error("Server failure: Protocol Error")
+ except xmlrpclib.ProtocolError, err:
+ self.log.error("Server failure: Protocol Error: %s %s" % \
+ (err.errcode, err.errmsg))
raise xmlrpclib.Fault(20, "Server Failure")
except xmlrpclib.Fault:
raise