Difference between TypeError and unspecific Exception

This commit is contained in:
Roland Hedberg
2010-10-13 13:45:05 +02:00
parent a505dd3155
commit f653e49063

View File

@@ -49,6 +49,8 @@ class Request(object):
self.log.info("xmlstr: %s" % (self.xmlstr,))
try:
self.message = self.signature_check(decoded_xml)
except TypeError:
raise
except Exception, excp:
self.log and self.log.info("EXCEPTION: %s", excp)