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

JSON Client Receiving Malformed JSON returns empty object #145

Closed
john681611 opened this issue Dec 15, 2017 · 1 comment
Closed

JSON Client Receiving Malformed JSON returns empty object #145

john681611 opened this issue Dec 15, 2017 · 1 comment

Comments

@john681611
Copy link

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

Shouldn't this error with message that it failed to parse the JSON

@DonutEspresso
Copy link
Member

Thanks for the report! I'll be submitting a fix for this shortly. Marking this as a dupe of #140

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