lib/scanner, lib/model: File -> item when logging error (#5664)

This commit is contained in:
Simon Frei
2019-04-21 17:19:59 +02:00
committed by Audrius Butkevicius
parent 86e72d9973
commit 926e9228ed
2 changed files with 2 additions and 2 deletions

View File

@@ -530,7 +530,7 @@ func (w *walker) handleError(ctx context.Context, context, path string, err erro
if fs.IsNotExist(err) {
return
}
l.Infof("Scanner (folder %s, file %q): %s: %v", w.Folder, path, context, err)
l.Infof("Scanner (folder %s, item %q): %s: %v", w.Folder, path, context, err)
select {
case finishedChan <- ScanResult{
Err: fmt.Errorf("%s: %s", context, err.Error()),