Merge pull request #5 from ClementNotin/patch-4

Add handling of PathTooLongException in FindFiles()
master
Will 2018-08-20 11:44:10 -07:00 committed by GitHub
commit 5537767dd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1364,6 +1364,7 @@ namespace Seatbelt
files.AddRange(FindFiles(directory, pattern));
}
catch (UnauthorizedAccessException) { }
catch (PathTooLongException) { }
}
return files;