@@ -535,7 +535,12 @@ func (w *walker) updateFileInfo(file, curFile protocol.FileInfo) protocol.FileIn
|
||||
file.LocalFlags = w.LocalFlags
|
||||
return file
|
||||
}
|
||||
|
||||
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)
|
||||
select {
|
||||
case finishedChan <- ScanResult{
|
||||
|
||||
Reference in New Issue
Block a user