paypal/rest-api-sdk-nodejs — pull request #14 by outbounder (2013-08-11 10:13:54+00:00)
Title: fixing uncaught exception when response isn't json parsable in regards to issue #13

btw it is not good practice to mix string values with side properties:

when `response = ''` , `response.httpStatusCode = res.statusCode;` would produce unexpected results...

So I've refactored it a little bit.