Skip to content

Commit

Permalink
Merge pull request #214 from lps-rocks/patch-1
Browse files Browse the repository at this point in the history
Add verbose error message for unreadable event
  • Loading branch information
davidnewhall authored Jul 17, 2022
2 parents c98bf33 + 47f9737 commit 85c2b74
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/unpackerr/folder.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,7 @@ func (f *Folders) processEvent(event *eventData) {
delete(f.Folders, dirPath)
f.Remove(dirPath)
}

f.Debugf("Folder: Ignored File Event: %v (unreadable)", event.file)
f.Debugf("Folder: Ignored File Event: %v (unreadable, %v)", event.file, err)

return
} else if !stat.IsDir() {
Expand Down

0 comments on commit 85c2b74

Please sign in to comment.