kevinohara80/nforce — pull request #11 by jneander (2013-03-26 23:38:15+00:00)
Title: SalesForce exception with empty error and body in response (no context)

In production, Node was catching an 'uncaughtException' where the body coming back from request() was undefined. Attempting to index this element was throwing the exception. This was occurring during a request to SalesForce which received a 500 response with an error tucked into the header.

I provided a case where there is no error or body. An attempt is made to find the error in the header.