Allow scan to continue when encountering an error (#6073)

This commit is contained in:
gregpetersonanon 2025-09-08 22:10:13 -07:00 committed by GitHub
parent b5b207c940
commit fd36c0fac7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,7 +107,8 @@ func (s *scanJob) detectFolderMove(ctx context.Context, file scanFile) (*models.
info, err := d.Info()
if err != nil {
return fmt.Errorf("reading info for %q: %w", path, err)
logger.Errorf("reading info for %q: %v", path, err)
return nil
}
if !s.acceptEntry(ctx, path, info) {