mirror of
https://github.com/restic/restic.git
synced 2026-05-21 09:35:23 +00:00
backend/retry: debug log correct error on failed file removal
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user