mirror of
https://github.com/restic/restic.git
synced 2026-05-28 04:35:41 -04:00
backend/retry: debug log correct error on failed file removal
This commit is contained in:
parent
bd945df2ea
commit
c04a1d857d
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ func (be *Backend) Save(ctx context.Context, h backend.Handle, rd backend.Rewind
|
|||
debug.Log("Save(%v) failed with error, removing file: %v", h, err)
|
||||
rerr := be.Backend.Remove(ctx, h)
|
||||
if rerr != nil {
|
||||
debug.Log("Remove(%v) returned error: %v", h, err)
|
||||
debug.Log("Remove(%v) returned error: %v", h, rerr)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue