Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Jun 21, 2022
1 parent 390554a commit 4c0a4cb
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -41,6 +41,7 @@
import org.springframework.context.annotation.Bean;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.ResourcePatternResolver;
import org.springframework.core.log.LogMessage;
import org.springframework.graphql.ExecutionGraphQlService;
import org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer;
import org.springframework.graphql.execution.BatchLoaderRegistry;
Expand Down Expand Up @@ -111,7 +112,7 @@ private List<Resource> resolveSchemaResources(ResourcePatternResolver resolver,
return Arrays.asList(resolver.getResources(pattern));
}
catch (IOException ex) {
logger.debug("Could not resolve schema location: '" + pattern + "'", ex);
logger.debug(LogMessage.format("Could not resolve schema location: '%s'", pattern), ex);
return Collections.emptyList();
}
}
Expand Down

0 comments on commit 4c0a4cb

Please sign in to comment.