We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Warning: I'm fairly new to Haskell.
Right now, I assume an exception of some sort is thrown because a 500 error is returned and subsequently logged when a client disconnects.
I would like to either handle that exception myself or get notified of the disconnection. Either way, I'd rather that a 500 error wasn't sent/logged.
Thanks.
The text was updated successfully, but these errors were encountered:
I think you have to use Control.Exception (for instance finally) around function that does WS.receiveData conn.
Control.Exception
finally
WS.receiveData conn
Sorry, something went wrong.
No branches or pull requests
Warning: I'm fairly new to Haskell.
Right now, I assume an exception of some sort is thrown because a 500 error is returned and subsequently logged when a client disconnects.
I would like to either handle that exception myself or get notified of the disconnection. Either way, I'd rather that a 500 error wasn't sent/logged.
Thanks.
The text was updated successfully, but these errors were encountered: