Log bad Classpath URI entries
This commit is contained in:
parent
feadf3f56e
commit
3e8697f926
|
@ -148,7 +148,13 @@ public class MetaInfConfiguration extends AbstractConfiguration
|
|||
Consumer<URI> addContainerResource = (uri) ->
|
||||
{
|
||||
Resource resource = _resourceFactory.newResource(uri);
|
||||
context.getMetaData().addContainerResource(resource);
|
||||
if (resource == null || !resource.exists())
|
||||
{
|
||||
if (LOG.isDebugEnabled())
|
||||
LOG.debug("Classpath URI doesn't exist: " + uri);
|
||||
}
|
||||
else
|
||||
context.getMetaData().addContainerResource(resource);
|
||||
};
|
||||
|
||||
List<URI> containerUris = getAllContainerJars(context);
|
||||
|
|
Loading…
Reference in New Issue