Remove ISE in ResourceUrlProvider

Issue: SPR-12630
This commit is contained in:
Rossen Stoyanchev 2015-01-22 17:08:20 -05:00
parent 3f6f6d5f70
commit 0bfa124a1e
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ public class ResourceUrlProvider implements ApplicationListener<ContextRefreshed
ResourceResolverChain chain = new DefaultResourceResolverChain(handler.getResourceResolvers());
String resolved = chain.resolveUrlPath(pathWithinMapping, handler.getLocations());
if (resolved == null) {
throw new IllegalStateException("Failed to get public resource URL path for " + pathWithinMapping);
continue;
}
if (logger.isTraceEnabled()) {
logger.trace("Resolved public resource URL path=\"" + resolved + "\"");