Skip to content

Reduce number of 'caught exceptions' raised by vfs#23982

Merged
rbuckton merged 1 commit into
masterfrom
reduceVfsCaughtExceptions
May 9, 2018
Merged

Reduce number of 'caught exceptions' raised by vfs#23982
rbuckton merged 1 commit into
masterfrom
reduceVfsCaughtExceptions

Conversation

@rbuckton
Copy link
Copy Markdown
Contributor

@rbuckton rbuckton commented May 8, 2018

The new VFS models the NodeJS "fs" model fairly closely, but as a result raises a lot of IO exceptions that are themselves caught internally. This can apparently create a lot of noise when debugging tests with "caught exceptions" automatic breakpoints enabled.

This PR avoids raising internal "ENOENT" I/O errors during mkdirpSync as this happens frequently.

@rbuckton rbuckton requested a review from sheetalkamat May 8, 2018 22:08
@rbuckton rbuckton merged commit b31968a into master May 9, 2018
@rbuckton rbuckton deleted the reduceVfsCaughtExceptions branch May 9, 2018 16:23
@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants