diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-10-24 15:36:01 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-10-24 15:36:01 +0000 |
commit | 26aa01329aaf5d9a93111474903477f862843534 (patch) | |
tree | 9ea5d8a93c31fc06b5310dfc0fb09feb5eefdcfd /src/lib | |
parent | 48d42e7350487b62e1f2a924cab9f1d15444f327 (diff) | |
download | bcfg2-26aa01329aaf5d9a93111474903477f862843534.tar.gz bcfg2-26aa01329aaf5d9a93111474903477f862843534.tar.bz2 bcfg2-26aa01329aaf5d9a93111474903477f862843534.zip |
Proxy: improve error message for SSL key issues (Resolves Ticket #682)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5495 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Proxy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Proxy.py b/src/lib/Proxy.py index b560eac74..8e8917442 100644 --- a/src/lib/Proxy.py +++ b/src/lib/Proxy.py @@ -59,6 +59,9 @@ class RetryMethod(_Method): except xmlrpclib.Fault: raise except socket.error, err: + if err.errno == 336265218: + self.log.error("SSL Key error") + break if retry == 3: self.log.error("Server failure: %s" % err) raise xmlrpclib.Fault(20, err) |