Skip to content

Commit e4ae0e4

Browse files
manuelecastrobrianchandotcom
authored andcommitted
LPD-61377 Add IllegalArgumentException and log errors
1 parent 113066b commit e4ae0e4

File tree

1 file changed

+3
-1
lines changed
  • modules/apps/portal-security-sso/portal-security-sso-openid-connect-impl/src/main/java/com/liferay/portal/security/sso/openid/connect/internal/servlet/filter/auto/login

1 file changed

+3
-1
lines changed

modules/apps/portal-security-sso/portal-security-sso-openid-connect-impl/src/main/java/com/liferay/portal/security/sso/openid/connect/internal/servlet/filter/auto/login/OpenIdConnectAutoLoginFilter.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,11 @@ protected void processFilter(
8989
userId -> _autoLoginUser(
9090
httpServletRequest, httpServletResponse, userId));
9191
}
92-
catch (StrangersNotAllowedException |
92+
catch (IllegalArgumentException | StrangersNotAllowedException |
9393
UserEmailAddressException.MustNotUseCompanyMx exception) {
9494

95+
_log.error(exception);
96+
9597
Class<?> clazz = exception.getClass();
9698

9799
actionURL = HttpComponentsUtil.addParameter(

0 commit comments

Comments
 (0)