File tree Expand file tree Collapse file tree
src/main/java/com/chaudhuri/cataloggenerator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -412,14 +412,17 @@ List<ExpansionManifest> parseUrls(List<String> urls) throws Exception {
412412 .parallel ()
413413 .filter (url -> !url .startsWith ("#" ))
414414 .filter (url -> !url .isBlank ())
415- .map (e -> {
416- ExpansionManifest em = getManifestFromUrl (e );
417- log .info ("Parsed {}, found {}" , e , em .getIdentifier ());
418-
419- if (em .getIdentifier () == null || em .getIdentifier ().isBlank ()) {
420- log .error ("Invalid identifier in expansion {}" , e );
415+ .map (url -> {
416+ ExpansionManifest em = getManifestFromUrl (url );
417+ if (em == null ) {
418+ log .error ("Could not parse expansion at {}" , url );
419+ } else if (em .getIdentifier () == null || em .getIdentifier ().isBlank ()) {
420+ log .error ("Invalid identifier in expansion {}" , url );
421+ } else {
422+ log .debug ("Parsed {}, found {}" , url , em .getIdentifier ());
421423 }
422424
425+
423426 return em ;
424427 })
425428 .filter (m -> m != null )
You can’t perform that action at this time.
0 commit comments