Hello got a quick question.. I am using `walkdir` to scan the file system for file

I am using walkdir to scan the file system for files. I am running into an error where everything craps the bed at the first sign of a file that has too high of permissions. I see that walkdir accepts onerror=throws. What would I need to do to modify throws or to write my own function to handle the permissions issues. I just want it to skip over them.
(Original message :slack:)

Just pass identity to onerror like this:

walkdir(path; onerror = identity)
6 Likes