mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
lib/versioner: Don't complain when folder is stopping (#9097)
This commit is contained in:
parent
5ff11ce142
commit
4812600098
@ -330,7 +330,9 @@ func clean(ctx context.Context, versionsFs fs.Filesystem, toRemove func([]string
|
||||
}
|
||||
|
||||
if err := versionsFs.Walk(".", walkFn); err != nil {
|
||||
l.Warnln("Versioner: error scanning versions dir", err)
|
||||
if !errors.Is(err, context.Canceled) {
|
||||
l.Warnln("Versioner: scanning versions dir:", err)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user