Merge pull request #2921 from thomasdarimont/issue/KEYCLOAK-3054-fix-npe-on-unknown-protocol-adjustment
KEYCLOAK-3054: Use string format for log message
This commit is contained in:
commit
1c694b4795
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ public class RealmsResource {
|
||||||
|
|
||||||
LoginProtocolFactory factory = (LoginProtocolFactory)session.getKeycloakSessionFactory().getProviderFactory(LoginProtocol.class, protocol);
|
LoginProtocolFactory factory = (LoginProtocolFactory)session.getKeycloakSessionFactory().getProviderFactory(LoginProtocol.class, protocol);
|
||||||
if(factory == null){
|
if(factory == null){
|
||||||
logger.debugv("protocol %s not found", protocol);
|
logger.debugf("protocol %s not found", protocol);
|
||||||
throw new NotFoundException("Protocol not found");
|
throw new NotFoundException("Protocol not found");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue