mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Prevent scanner from failing when reading file info (#6123)
This commit is contained in:
@@ -239,7 +239,8 @@ func (s *scanJob) queueFileFunc(ctx context.Context, f models.FS, zipFile *scanF
|
|||||||
|
|
||||||
info, err := d.Info()
|
info, err := d.Info()
|
||||||
if err != nil {
|
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) {
|
if !s.acceptEntry(ctx, path, info) {
|
||||||
|
|||||||
Reference in New Issue
Block a user