algolia/algoliasearch-client-php — pull request #9 by alikoubeissi (2014-04-02 15:10:47+00:00)
Title: catching the correct exception in AlgoliaUtils_request

AlgoliaUtils_request was failing to try all hosts because the exception being caught (Exception) was not the same as the exception being thrown (\Exception). Changing Exception to \Exception will make AlgoliaUtils_request try all hosts.