lib/scanner: Pass on errors while hashing (#7380)

This commit is contained in:
Simon Frei
2021-02-19 08:51:39 +01:00
committed by GitHub
parent 57a7f4391f
commit 78c2844e3f
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ func (ph *parallelHasher) hashFiles(ctx context.Context) {
blocks, err := HashFile(ctx, ph.fs, f.Name, f.BlockSize(), ph.counter, true)
if err != nil {
l.Debugln("hash error:", f.Name, err)
handleError(ctx, "hashing", f.Name, err, ph.outbox)
continue
}