pskupinski/node-campbx — pull request #1 by ameen3 (2013-05-12 00:35:39+00:00)
Title: Fixes JSON.parse bug

Occasionally, the CampBX API will respond with a string, which throws an error when makeRequest and makePublicRequest try to parse it. This puts a try-catch block around parse to trigger a callback with the appropriate error.