Update error handling with typo fix

Hi @clintandrewhall - saw a typo in node-foursquare.js that was causing me some problems, just a small patch.