summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Component.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Component.py')
-rw-r--r--src/lib/Server/Component.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/Server/Component.py b/src/lib/Server/Component.py
index 217f6414b..b9f7d798c 100644
--- a/src/lib/Server/Component.py
+++ b/src/lib/Server/Component.py
@@ -71,9 +71,12 @@ class TLSServer(Bcfg2.tlslite.api.TLSSocketServerMixIn,
sessionCache=self.sc)
tlsConnection.ignoreAbruptClose = True
return True
- except Bcfg2.tlslite.errors.TLSError, error:
+ except Bcfg2.tlslite.errors.TLSError, socket.error:
print "Handshake failure:", str(error)
return False
+ except Exception, e:
+ print "got", e
+ raise
class Component(TLSServer,
SimpleXMLRPCServer.SimpleXMLRPCDispatcher):