Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvement: explicitly catch EMFILE errors with better error message #2028

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

edvald
Copy link
Collaborator

@edvald edvald commented Sep 1, 2020

Another one in the series of potential errors when the project file
count is too high.

See issue #2003 for one reported case of this.

@@ -142,7 +142,7 @@ export function makeErrorMsg({

${trimEnd(error, "\n")}
`
if (output !== error) {
if (out && output !== error) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be if output && ... since out is just output that's been formatted.

Another one in the series of potential errors when the project file
count is too high.

See issue #2003 for one reported case of this.
@edvald edvald merged commit 37975c8 into master Sep 4, 2020
@edvald edvald deleted the catch-emfile branch September 4, 2020 08:54
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.

2 participants