Skip to content

Commit

Permalink
Add rename failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalif committed Sep 21, 2021
1 parent 04777d4 commit 1a9cf76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -1184,6 +1184,7 @@ func (inode *Inode) SendUpload() bool {
err = nil
notFoundIgnore = true
} else {
log.Debugf("Failed to copy %v to %v (rename): %v", from, key, err)
inode.mu.Lock()
inode.recordFlushError(err)
if inode.Parent == oldParent && inode.Name == oldName {
Expand Down

0 comments on commit 1a9cf76

Please sign in to comment.