Skip to content

Commit 68a7f59

Browse files
authored
Merge pull request #890 from DependencyTrack/reduce-log-level
Reduce log level when package type is not supported
2 parents e52d65c + ba07fd1 commit 68a7f59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

repository-meta-analyzer/src/main/java/org/hyades/processor/MetaAnalyzerProcessor.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ private org.hyades.model.IntegrityMeta fetchIntegrityMeta(IMetaAnalyzer analyzer
200200
org.hyades.model.IntegrityMeta integrityMeta;
201201
try {
202202
integrityMeta = analyzer.getIntegrityMeta(component);
203+
} catch (UnsupportedOperationException unsupportedPackageException) {
204+
LOGGER.debug("Failed to analyze {} using {} with repository {} because package type is not supported",
205+
component.getPurl(), analyzer.getName(), repository.getIdentifier(), unsupportedPackageException);
206+
return null;
203207
} catch (Exception e) {
204208
LOGGER.error("Failed to analyze {} using {} with repository {}",
205209
component.getPurl(), analyzer.getName(), repository.getIdentifier(), e);

0 commit comments

Comments
 (0)