mirror of
https://github.com/restic/restic.git
synced 2024-12-22 15:57:07 +00:00
check: fix missing error if blob is invalid
This commit is contained in:
parent
6397615fbb
commit
4073299a7c
1 changed files with 2 additions and 2 deletions
|
@ -563,8 +563,8 @@ func checkPack(ctx context.Context, r restic.Repository, id restic.ID, blobs []r
|
|||
}
|
||||
debug.Log(" check blob %v: %v", val.Handle.ID, val.Handle)
|
||||
if val.Err != nil {
|
||||
debug.Log(" error verifying blob %v: %v", val.Handle.ID, err)
|
||||
errs = append(errs, errors.Errorf("blob %v: %v", val.Handle.ID, err))
|
||||
debug.Log(" error verifying blob %v: %v", val.Handle.ID, val.Err)
|
||||
errs = append(errs, errors.Errorf("blob %v: %v", val.Handle.ID, val.Err))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue