Skip to content

Commit

Permalink
refactor: add debug log for each dependency without version
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Sep 23, 2024
1 parent 69f5bd5 commit 9424f13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/dependency/parser/java/pom/artifact.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ func (a artifact) IsEmpty() bool {
}
if a.Version.String() == "" {
emptyVersionWarn()
log.WithPrefix("pom").Debug("Dependency version cannot be determined.",
log.String("GroupID", a.GroupID),
log.String("ArtifactID", a.ArtifactID),
)
}
return false
}
Expand Down

0 comments on commit 9424f13

Please sign in to comment.