diff --git a/server/lib/python/cartodb_services/cartodb_services/mapzen/matrix_client.py b/server/lib/python/cartodb_services/cartodb_services/mapzen/matrix_client.py index d39aa95..2d2dbdf 100644 --- a/server/lib/python/cartodb_services/cartodb_services/mapzen/matrix_client.py +++ b/server/lib/python/cartodb_services/cartodb_services/mapzen/matrix_client.py @@ -42,16 +42,10 @@ class MatrixClient: } response = requests.get(self.ONE_TO_MANY_URL, params=request_params) - raise Exception('testing exception handling') if not requests.codes.ok: self._logger.error('Error trying to get matrix distance from mapzen', data={"response": response.json(), "locations": locations, "costing": costing}) raise Exception('Error trying to get matrix distance from mapzen') - else: - self._logger.debug('Done get matrix distance from mapzen', - data={"response": response.json(), - "locations": locations, - "costing": costing}) return response.json()