summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-01-16 16:09:42 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-01-16 16:09:42 +0000
commitedc64aa3053503d4da9476034ba0495e80e49e47 (patch)
treec2e0873bbd373a240d480b750f2ea4e59414a19f /src/lib
parent9707537bb7184a9109a7595459b4c4e84ef5b4f3 (diff)
downloadbcfg2-edc64aa3053503d4da9476034ba0495e80e49e47.tar.gz
bcfg2-edc64aa3053503d4da9476034ba0495e80e49e47.tar.bz2
bcfg2-edc64aa3053503d4da9476034ba0495e80e49e47.zip
Handle checksum problems properly
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4246 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Proxy.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Proxy.py b/src/lib/Proxy.py
index bd69c9f03..685d2096c 100644
--- a/src/lib/Proxy.py
+++ b/src/lib/Proxy.py
@@ -37,6 +37,9 @@ class RetryMethod(_Method):
errmsg = err.message.split()
self.log.error("Got %s expected %s" % (errmsg[3], errmsg[4]))
raise SystemExit, 1
+ except Bcfg2.tlslite.errors.TLSError, err:
+ self.log.error("Unexpected TLS Error: %s. Retrying" % \
+ (err.message))
except:
self.log.error("Unknown failure", exc_info=1)
break