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
Mute subscriber that tries to write to closed output #1604
Comments
@dzikoysk I would like to do this.. but don't know how to solve this... please guide |
I think that simple try-catch around ctx.send() for ClosedChannelException could be enough, this error is pretty random and it's hard to reproduce it, so we will just observe the result :) |
Maybe I could not do it.. you better to assign someone else.. sorry to bother 😢 |
Can I be assigned I think I could solve it |
What should be done when the exception is caught? |
I think we can safely mute it by just logging it at |
…d ClosedChannelException
Request details
Probably caused by: https://github.com/dzikoysk/reposilite/blob/main/reposilite-backend/src/main/kotlin/com/reposilite/console/infrastructure/ConsoleWebSocketHandler.kt#L69
The text was updated successfully, but these errors were encountered: