-
Notifications
You must be signed in to change notification settings - Fork 40
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
TypeError
thrown in _ClientImpl._handleException
#104
Comments
That's an odd error... Are you getting this with v0.2.5 of the client? |
…lose message This commit attempts to fix issue #104 by using a ?? operator to avoid raising a _CastError if a ConnectionClose message does not include a replyText field.
It looks like a _CastError is raised when a null check operator is used on a null value. I examined the |
Thanks! I'll pull your branch in and see if it happens again. |
I forgot to report back, this fixed the null check issue. Feel free to close and merge the associated PR |
I don't know the how to reproduce this but we just saw this in our logs:
It seems like there might be two issues here:
_handleException
accepts a dynamic error but is trying to add it to the error stream which is typedException
_handleMessage
is throwing theCastError
The text was updated successfully, but these errors were encountered: