meritt/node-4sq — pull request #2 by cdmoyer (2013-09-18 12:52:43+00:00)
Title: Handle non-JSON responses from Foursquare

This was occuring during their 2013-09-18 sporadic outages.
This simple catches the exception thrown by JSON.parse and hands out a standard
error rather than propagating the exception.