Skip to content

Commit

Permalink
Add if debug enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Shalitha Pathiranage committed Jul 17, 2023
1 parent 1ff5c93 commit d6600ee
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,9 @@ public static boolean isGenericRecaptchaEnabledAuthenticator(String authenticato
AuthenticatorConfig authenticatorConfig =
ConfigurationFacade.getInstance().getAuthenticatorConfig(authenticatorName);
if (authenticatorConfig == null) {
log.debug("Authenticator config not found for authenticator: " + authenticatorName);
if (log.isDebugEnabled()) {
log.debug("Authenticator config not found for authenticator: " + authenticatorName);
}
return false;
}
Map<String, String> params = authenticatorConfig.getParameterMap();
Expand Down

0 comments on commit d6600ee

Please sign in to comment.