From 44af016a132e376b91394698a4100be6764a5c36 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Thu, 11 Apr 2024 17:47:38 +0000 Subject: [PATCH] fix: handle missing files --- pkg/fs/verify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/fs/verify.go b/pkg/fs/verify.go index 8b050cc..99f4ae2 100644 --- a/pkg/fs/verify.go +++ b/pkg/fs/verify.go @@ -34,7 +34,7 @@ func checkBOM(input, pathEntry string) error { for _, file := range pkg.Files() { symlink, err := filepath.EvalSymlinks(file.Name) if err != nil { - log.Error().Err(err).Str("path", file.Name).Msg("unable to resolve symlink") + log.Error().Err(err).Str("path", file.Name).Str("package", pkg.Name).Msg("unable to resolve symlink") return err }