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

JsonClient swallows parse SyntaxError #140

Closed
lrowe opened this issue Oct 24, 2017 · 0 comments
Closed

JsonClient swallows parse SyntaxError #140

lrowe opened this issue Oct 24, 2017 · 0 comments

Comments

@lrowe
Copy link

lrowe commented Oct 24, 2017

See: https://github.com/restify/clients/blob/master/lib/JsonClient.js#L65

If the response is malformed the parse SyntaxError should be returned as the first argument to the callback to be handled there.

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

No branches or pull requests

2 participants