mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Allow scan to continue when encountering an error (#6073)
This commit is contained in:
@@ -107,7 +107,8 @@ func (s *scanJob) detectFolderMove(ctx context.Context, file scanFile) (*models.
|
|||||||
|
|
||||||
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