chore: fix some logging output (#3884)

Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>
This commit is contained in:
Weston Steimel
2025-05-13 13:15:19 +01:00
committed by GitHub
parent 59b880f26a
commit de88b973f8
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func Backfill(p *pkg.Package) {
purl, err := packageurl.FromString(p.PURL)
if err != nil {
log.Debug("unable to parse purl: %s: %w", p.PURL, err)
log.Debugf("unable to parse purl: %s: %w", p.PURL, err)
return
}
+1 -1
View File
@@ -59,7 +59,7 @@ func newModelLicensesFromValues(licenses []string) (ml []License) {
for _, v := range licenses {
expression, err := license.ParseExpression(v)
if err != nil {
log.Trace("could not find valid spdx expression for %s: %w", v, err)
log.Tracef("could not find valid spdx expression for %s: %w", v, err)
}
ml = append(ml, License{
Value: v,