From 89c0a76ba3b742ef0cf06150887486796b76e36c Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Mon, 1 Dec 2014 21:59:03 +0100 Subject: [PATCH] Starting to add more debug information. --- src/saml2/response.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/saml2/response.py b/src/saml2/response.py index 6e642e4..c40997a 100644 --- a/src/saml2/response.py +++ b/src/saml2/response.py @@ -532,6 +532,7 @@ class AuthnResponse(StatusResponse): if optional: return True else: + logger.error("No AuthnStatement") raise authn_statement = self.assertion.authn_statement[0]