summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2020-08-10 23:18:41 +0300
committerGitHub <noreply@github.com>2020-08-10 23:18:41 +0300
commitcf6fc80f0ac490821dbcf11008f3939b146b0d70 (patch)
treeabb96102d22bff9360be555b36e83483026bc110
parente5d0b4f0760144430d885165d41d777b59ef5d6a (diff)
parent3d7e0b97e9d23ad721560c3a6599d78de09c0401 (diff)
downloadpysaml2-cf6fc80f0ac490821dbcf11008f3939b146b0d70.tar.gz
Merge pull request #708 from richvdh/clean_up_exception_logging
Remove spurious `exception` logging
-rw-r--r--src/saml2/response.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/saml2/response.py b/src/saml2/response.py
index f2e2f53e..bcf3285f 100644
--- a/src/saml2/response.py
+++ b/src/saml2/response.py
@@ -526,8 +526,6 @@ class AuthnResponse(StatusResponse):
try:
if not self.check_subject_confirmation_in_response_to(
self.in_response_to):
- logger.exception(
- "Unsolicited response %s" % self.in_response_to)
raise UnsolicitedResponse(
"Unsolicited response: %s" % self.in_response_to)
except AttributeError:
@@ -536,8 +534,6 @@ class AuthnResponse(StatusResponse):
# Should check that I haven't seen this before
pass
else:
- logger.exception(
- "Unsolicited response %s" % self.in_response_to)
raise UnsolicitedResponse(
"Unsolicited response: %s" % self.in_response_to)