error handling for yelp api