Skip to content

Commit

Permalink
refactor: update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Sep 2, 2024
1 parent e61145e commit 83716e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vulnsrc/redhat-oval/redhat-oval.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func (vs VulnSrc) Get(pkgName string, repositories, nvrs []string) ([]types.Advi
}

if len(cpeIndices) == 0 {
return nil, xerrors.Errorf("No CPE indices found")
return nil, xerrors.Errorf("unable to find CPE indices. See https://github.com/aquasecurity/trivy-db/issues/435 for details")
}

rawAdvisories, err := vs.dbc.ForEachAdvisory([]string{rootBucket}, pkgName)
Expand Down

0 comments on commit 83716e8

Please sign in to comment.