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

Improve invalid fd error messages for epoll #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erikgeiser
Copy link

Previously, the error returned by unix.EpollCtl was discarded. This PR improves the error messages and includes the file descriptors as they are likely related to any error that can occur. Additionally a -1 file descriptor is caught early with a descriptive error message.

@Blane245
Copy link

Blane245 commented Mar 7, 2024

I am pursuing a problem that I am having with go.d.plugin and it is right here. I would suggest that the code not substitute another message has you have done, but use the actual cancelreader error codes.

BTW, my problem is that go.d.plugin is not collecting when it is spawned by my server but will work when run from the console or a shell script. The only difference in the logs this error message. The problem started a couple of days ago.

cardil added a commit to wavesoftware/go-magetasks that referenced this pull request Mar 25, 2024
The failure happens only on GH Actions, so I'm doing this test commit to
see the underlaying error
cardil added a commit to wavesoftware/go-magetasks that referenced this pull request Mar 25, 2024
The failure happens only on GH Actions, so I'm doing this test commit to
see the underlaying error
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.

None yet

3 participants