{"action":"opened","issue":{"url":"https://api.github.com/repos/visionmedia/superagent/issues/675","labels_url":"https://api.github.com/repos/visionmedia/superagent/issues/675/labels{/name}","comments_url":"https://api.github.com/repos/visionmedia/superagent/issues/675/comments","events_url":"https://api.github.com/repos/visionmedia/superagent/issues/675/events","html_url":"https://github.com/visionmedia/superagent/issues/675","id":86861756,"number":675,"title":"Fails to parse JSON, doesn't give us the raw response.","user":{"login":"ponelat","id":8438485,"avatar_url":"https://avatars.githubusercontent.com/u/8438485?v=3","gravatar_id":"","url":"https://api.github.com/users/ponelat","html_url":"https://github.com/ponelat","followers_url":"https://api.github.com/users/ponelat/followers","following_url":"https://api.github.com/users/ponelat/following{/other_user}","gists_url":"https://api.github.com/users/ponelat/gists{/gist_id}","starred_url":"https://api.github.com/users/ponelat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ponelat/subscriptions","organizations_url":"https://api.github.com/users/ponelat/orgs","repos_url":"https://api.github.com/users/ponelat/repos","events_url":"https://api.github.com/users/ponelat/events{/privacy}","received_events_url":"https://api.github.com/users/ponelat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-10T06:43:07Z","updated_at":"2015-06-10T06:43:07Z","closed_at":null,"body":"For particular reasons, the response from the server is a malformed JSON string, ie: it will fail to parse.\r\nHowever we'd still like to show the raw body content but can't because superagent doesn't include that data.\r\n\r\nCan we have the err callback included the raw response.\r\n\r\nRound about here I think...\r\nhttps://github.com/visionmedia/superagent/blob/master/lib/client.js#L466-L473"}}