Merge pull request #5 from ClementNotin/patch-4
Add handling of PathTooLongException in FindFiles()master
commit
5537767dd5
|
@ -1364,6 +1364,7 @@ namespace Seatbelt
|
|||
files.AddRange(FindFiles(directory, pattern));
|
||||
}
|
||||
catch (UnauthorizedAccessException) { }
|
||||
catch (PathTooLongException) { }
|
||||
}
|
||||
|
||||
return files;
|
||||
|
|
Loading…
Reference in New Issue