OpenConext / Stepup-SelfService

Stepup Self-service interface
Apache License 2.0
2 stars 5 forks source link

Simplify exception logical condition, showing the attribute missing error message once again #315

Closed MKodde closed 5 months ago

MKodde commented 5 months ago

When rendering the custom exception page, we test if the MissingRequiredAttributeException. But it also had to be a HTTP exception. That was never the case (also before #313).

By removing the first part of the statement, the error message is displayed correctly once again.

See: https://github.com/OpenConext/Stepup-SelfService/pull/315

MKodde commented 5 months ago

Now, when an attr is missing we are treated with this error message:

image