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 de9b5cc..9b4df53 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 @@ -38,4 +38,6 @@ class MatrixClient: } response = requests.get(self.ONE_TO_MANY_URL, params=request_params) + response.raise_for_status() # raise exception if not 200 OK + return response.json()