bsphere / node-gapitoken

Node.js Google API service account authorization
51 stars 19 forks source link

Return response body on un-parseable response #12

Closed leichter closed 9 years ago

leichter commented 9 years ago

You can see #11 for a description of the problem. Basically, this just returns the response body (wrapped in an Error object) in the event of an unexpected, un-parseable resposne.

Fixes #11