Skip to content

Ignore ENOENT when reading file annotations #121

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

Merged
merged 1 commit into from
Mar 1, 2025
Merged

Conversation

martinemde
Copy link
Contributor

Errno::ENOENT is occuring intermittently for some users. This is happening even when the file seems to exist at the time

Since we were already returning quietly if a file did not exist, just try to read the file and rescue exceptions, returning silently.

Fixes #98

Copy link
Contributor

@ashleywillard ashleywillard left a comment

Choose a reason for hiding this comment

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

🎉

Errno::ENOENT is occuring intermittently for some users.
This can happen even when the file seems to exist at the time.
Since we were already returning quietly if a file did not exist, just
try to read the file and rescue exceptions, returning silently.

Fixes #98
@martinemde martinemde merged commit 57935ed into main Mar 1, 2025
6 checks passed
@martinemde martinemde deleted the errorenoent branch March 1, 2025 00:14
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.

Intermittently Errno::ENOENT errors
2 participants