Skip to content

Conversation

@roback
Copy link
Member

@roback roback commented Nov 30, 2015

Decided to handle non-XML responses inside the parser (instead of
in the client) since all other errors are handled there.

fix #31

Decided to handle non-XML responses inside the parser (instead of
in the client) since all other errors are handled there.

fix #31
@jage
Copy link
Contributor

jage commented Nov 30, 2015

Nice! How about creating a private method that takes the data_node and returns a Result object? It would separate the error handling code from the Result creation.

@roback
Copy link
Member Author

roback commented Nov 30, 2015

How about creating a private method that takes the data_node and returns a Result object? It would separate the error handling code from the Result creation.

👍 Good idea :)

@jage
Copy link
Contributor

jage commented Nov 30, 2015

LGTM!

roback added a commit that referenced this pull request Nov 30, 2015
Handle non-XML responses from server
@roback roback merged commit 6be3be6 into master Nov 30, 2015
@roback roback deleted the handle-non-xml-responses branch November 30, 2015 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle non-XML responses from server

3 participants