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

Handle Errors in deserialize function #713

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open

Handle Errors in deserialize function #713

wants to merge 1 commit into from

Conversation

nphyatt
Copy link
Contributor

@nphyatt nphyatt commented Aug 3, 2016

Fix for Issue #712 so that any message with an error key in the top level of the message throws an error in the client.


This change is Reviewable

@danielmewes
Copy link
Member

Thanks for the pull request @nphyatt !

@deontologician

@deontologician deontologician added this to the Release 2.0 milestone Aug 3, 2016
@deontologician deontologician self-assigned this Aug 3, 2016
@deontologician
Copy link
Contributor

This causes a bunch of test failures. I think this is from the protocol error being thrown in the deserializer. Since we deserialize all messages on the socket, errors in the deserializer don't propagate to the observables for each request (they die before being routed there). So I think this will need a little more work to fix. I'll check it out today

@deontologician deontologician modified the milestones: First post-2.0 release, Release 2.0 Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants