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:
Stian Thorgersen 2016-06-08 07:08:05 +02:00
commit 1c694b4795

View file

@ -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");
} }