|
@@ -535,7 +535,12 @@ func (w *walker) updateFileInfo(file, curFile protocol.FileInfo) protocol.FileIn
|
|
file.LocalFlags = w.LocalFlags
|
|
file.LocalFlags = w.LocalFlags
|
|
return file
|
|
return file
|
|
}
|
|
}
|
|
|
|
+
|
|
func (w *walker) handleError(ctx context.Context, context, path string, err error, finishedChan chan<- ScanResult) {
|
|
func (w *walker) handleError(ctx context.Context, context, path string, err error, finishedChan chan<- ScanResult) {
|
|
|
|
+ // Ignore missing items, as deletions are not handled by the scanner.
|
|
|
|
+ if fs.IsNotExist(err) {
|
|
|
|
+ return
|
|
|
|
+ }
|
|
l.Infof("Scanner (folder %s, file %q): %s: %v", w.Folder, path, context, err)
|
|
l.Infof("Scanner (folder %s, file %q): %s: %v", w.Folder, path, context, err)
|
|
select {
|
|
select {
|
|
case finishedChan <- ScanResult{
|
|
case finishedChan <- ScanResult{
|