mirror of
https://github.com/restic/restic.git
synced 2025-12-03 21:21:47 +00:00
Add error handling for fileRestorer
This commit is contained in:
@@ -216,6 +216,7 @@ func (res *Restorer) RestoreTo(ctx context.Context, dst string) error {
|
||||
idx := restic.NewHardlinkIndex()
|
||||
|
||||
filerestorer := newFileRestorer(dst, res.repo.Backend().Load, res.repo.Key(), res.repo.Index().Lookup)
|
||||
filerestorer.Error = res.Error
|
||||
|
||||
debug.Log("first pass for %q", dst)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user