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

Suppress errors in socket read/write canceler #3238

Conversation

armanbilge
Copy link
Member

Sometimes the socket is already closed by the time the read/write canceler is invoked, causing an annoying error log via Cats Effect's unhandled error reporter. So we suppress the error.

Closes disneystreaming/weaver-test#668.

@armanbilge armanbilge merged commit 4d6c1e1 into typelevel:main Jun 8, 2023
@armanbilge armanbilge deleted the topic/jvm-socket-readwrite-cancel-suppress-errors branch June 8, 2023 13:47
@armanbilge armanbilge restored the topic/jvm-socket-readwrite-cancel-suppress-errors branch June 17, 2023 14: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.

frequent ClosedChannelException
2 participants