Skip to content

Commit

Permalink
make message error
Browse files Browse the repository at this point in the history
  • Loading branch information
pereiramarco011 committed Aug 28, 2023
1 parent 98b7cf4 commit 9de43ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/engine/provider/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (s *FileSystemSourceProvider) AddExcluded(excludePaths []string) error {
continue
}
if sysErr, ok := err.(*ioFs.PathError); ok {
log.Warn().Msgf("Failed getting file info for file '%s', Skipping due to: %s, Error number: %d",
log.Error().Msgf("Failed getting file info for file '%s', Skipping due to: %s, Error number: %d",
excludePath, sysErr, sysErr.Err.(syscall.Errno))
continue
}
Expand Down

0 comments on commit 9de43ba

Please sign in to comment.