Skip to content

Commit c7b6f4f

Browse files
author
Roland Hedberg
committed
Avoid multiple logging of the same exception.
1 parent ae5bc40 commit c7b6f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def _loads(self, xmldata, decode=True, origxml=None):
316316
except SignatureError:
317317
raise
318318
except Exception, excp:
319-
logger.exception("EXCEPTION: %s", excp)
319+
#logger.exception("EXCEPTION: %s", excp)
320320
raise
321321

322322
#print "<", self.response

0 commit comments

Comments
 (0)