providers/saml: fix CannotHandleAssertion Error still being sent to sentry

This commit is contained in:
Jens Langhammer
2020-02-24 19:14:43 +01:00
parent 39a208c55f
commit c5b91bdae8
3 changed files with 4 additions and 5 deletions

View File

@ -105,7 +105,7 @@ class LoginBeginView(AccessRequiredView):
params = self.provider.processor.generate_response()
request.session[SESSION_KEY_PARAMS] = params
except CannotHandleAssertion as exc:
LOGGER.error(exc)
LOGGER.info(exc)
did_you_mean_link = request.build_absolute_uri(
reverse(
"passbook_providers_saml:saml-login-initiate",