Skip to content

Comments

Catch UnauthorizedAccessException in file path enumeration#480

Merged
daviwil merged 1 commit intoPowerShell:masterfrom
daviwil:fix-vsc-813
Jun 1, 2017
Merged

Catch UnauthorizedAccessException in file path enumeration#480
daviwil merged 1 commit intoPowerShell:masterfrom
daviwil:fix-vsc-813

Conversation

@daviwil
Copy link
Contributor

@daviwil daviwil commented Jun 1, 2017

This change fixes an issue where the Workspace's file enumeration logic
would throw an UnauthorizedAccessException when it encounters an
unaccessible file or path. The fix is to make the file enumeration code
more robust so that it catches these exceptions and continues
enumerating as far as it can.

Resolves PowerShell/vscode-powershell#813.

This change fixes an issue where the Workspace's file enumeration logic
would throw an UnauthorizedAccessException when it encounters an
unaccessible file or path.  The fix is to make the file enumeration code
more robust so that it catches these exceptions and continues
enumerating as far as it can.

Resolves PowerShell/vscode-powershell#813.
@daviwil daviwil added this to the 1.2.1 milestone Jun 1, 2017
@daviwil daviwil merged commit 0788a3e into PowerShell:master Jun 1, 2017
@daviwil daviwil deleted the fix-vsc-813 branch June 1, 2017 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PowerShell Editor Services terminating error trying to access external USB recycle bin

2 participants