mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 16:06:36 +01:00
reduce java packages to java-archive and jenkins-plugin
This commit is contained in:
@@ -84,6 +84,7 @@ func (a *GenericCataloger) Catalog(contents map[file.Reference]string, upstreamM
|
||||
|
||||
entries, err := parser(string(reference.Path), strings.NewReader(content))
|
||||
if err != nil {
|
||||
// TODO: should we fail? or only log?
|
||||
log.Errorf("cataloger '%s' failed to parse entries (reference=%+v): %w", upstreamMatcher, reference, err)
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user