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

Add error log for poller #390

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Add error log for poller #390

merged 1 commit into from
Feb 6, 2024

Conversation

YanKawaYu
Copy link

In the poller's readWriteLoop, if there were errors when getting events, the readWriteLoop will exit without any indications, and the poller will stop working.

In my case, I've encountered an error(no such file or directory) using syscall.Kevent, which cost me half a day to find the problem.

Thus, adding a log will help all developers dealing this kind of situation.

@lesismal
Copy link
Owner

lesismal commented Feb 6, 2024

Good job Bro, thanks very much!

Happy New Year!

@lesismal lesismal merged commit 08c34cf into lesismal:master Feb 6, 2024
6 checks passed
@YanKawaYu
Copy link
Author

You're welcome!
Happy New Year!

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