lib/scanner, lib/model: Improve error handling when scanning (#6736)

This commit is contained in:
Simon Frei
2020-06-16 09:25:41 +02:00
committed by GitHub
parent f619a7f4cc
commit a47546a1f1
2 changed files with 6 additions and 2 deletions
-1
View File
@@ -531,7 +531,6 @@ func (w *walker) handleError(ctx context.Context, context, path string, err erro
if fs.IsNotExist(err) {
return
}
l.Infof("Scanner (folder %s, item %q): %s: %v", w.Folder, path, context, err)
select {
case finishedChan <- ScanResult{
Err: fmt.Errorf("%s: %w", context, err),