Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

PhysicalFilesWatcher should defend against PathTooLongException #205

Closed
Eilon opened this issue Jun 20, 2016 · 1 comment
Closed

PhysicalFilesWatcher should defend against PathTooLongException #205

Eilon opened this issue Jun 20, 2016 · 1 comment
Assignees

Comments

@Eilon
Copy link
Member

Eilon commented Jun 20, 2016

In the various event handlers in PhysicalFilesWatcher, there can be exceptions thrown for paths that are too long. For example, constructing a FileInfo with a long path can throw.

Because this code runs in background threads, this can easily take down a process that's using it.

@NTaylorMullen did some related fixes in #187, but it seems that we need to handle more cases.

See Watson info here: https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems?id=186004&_a=edit

@BrennanConroy
Copy link
Member

b58bbe0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants