We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2158fc6 commit 1c1e400Copy full SHA for 1c1e400
models/library.go
@@ -61,7 +61,7 @@ type Library struct {
61
func (s LibraryScanner) Scan() ([]VulnInfo, error) {
62
scanner, err := library.NewDriver(s.Type)
63
if err != nil {
64
- return nil, xerrors.Errorf("Failed to new a library driver: %w", err)
+ return nil, xerrors.Errorf("Failed to new a library driver %s: %w", s.Type, err)
65
}
66
var vulnerabilities = []VulnInfo{}
67
for _, pkg := range s.Libs {
0 commit comments