jpillora/node-edit-google-spreadsheet — pull request #3 by cmfatih (2013-06-19 14:29:38+00:00)
Title: Add: Extra control for bad response

"JSON.parse(body);" cause an error ("SyntaxError: Unexpected token...") due body's value. Because it is just a string message (for example: "Invalid query parameter value for grid-id.") if the request/response is not successful.