Here: https://github.com/FuerteInternational/FTGooglePlacesAPI#4-perform-request-and-handle-the-results Response is always printed, even if there is an error. Probably you want "else" there.
Here:
https://github.com/FuerteInternational/FTGooglePlacesAPI#4-perform-request-and-handle-the-results
Response is always printed, even if there is an error. Probably you want "else" there.