forwardemail / forwardemail/superagent
Fails to parse JSON, doesn't give us the raw response.
Open
- Dominant language
- JavaScript
- Stars
- 16.6k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
For particular reasons, the response from the server is a malformed JSON string, ie: it will fail to parse.
However we'd still like to show the raw body content but can't because superagent doesn't include that data.
Can we have the err callback included the raw response.
Round about here I think...
https://github.com/visionmedia/superagent/blob/master/lib/client.js#L466-L473
Contributor guide
Assessment
This issue has not been assessed yet.