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
data explorer does not correctly handle unexpected token errors #1334
Comments
How do you have the connection emit such error? |
This is a relatively recent change. See https://github.com/rethinkdb/rethinkdb/blob/next/drivers/javascript/net.coffee#L184 |
What would the user have to do to reproduce this error? |
The user probably have to send a protobuf that the server cannot parse -- #1248 For my side, I'll just call |
This query is enough to trigger the error:
|
Branch michel_1334_unexpected_token |
Review done. |
We emit an error on the connection when an unexpected token is received on the connection. In this case the data explorer pops up an error message saying that the connection to the database was lost. This is incorrect. The connection remains usable.
The text was updated successfully, but these errors were encountered: