Skip to content

Commit ebf17ce

Browse files
Update src/saml2/response.py
Made error message more descriptive Co-authored-by: Ivan Kanakarakis <[email protected]>
1 parent 0c8f22f commit ebf17ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/saml2/response.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,8 @@ def _assertion(self, assertion, verified=False):
791791
try:
792792
self.sec.check_signature(assertion, class_name(assertion), self.xmlstr)
793793
except Exception as exc:
794-
logger.error("incorrectly_signed_response: %s", exc)
794+
logger.error("The signature on the assertion cannot be verified.")
795+
logger.debug("correctly_signed_response: %s", exc)
795796
raise
796797

797798
self.assertion = assertion

0 commit comments

Comments
 (0)