Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Add error handling to consumer #7

Closed
hstaudacher opened this issue Feb 4, 2013 · 0 comments
Closed

Add error handling to consumer #7

hstaudacher opened this issue Feb 4, 2013 · 0 comments
Labels

Comments

@hstaudacher
Copy link
Owner

Currently the consumer implementation doe snot respect http error codes. It tries to deserialize the body of 5xx and 4xx messages. I think a check should be added that the content should only be parsed when it's 2xx otherwise an exception should be throwed with the message from the body.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant