JSON response is not always present, better show the reponse object complete
This commit is contained in:
@@ -44,7 +44,7 @@ class MatrixClient:
|
|||||||
|
|
||||||
if not requests.codes.ok:
|
if not requests.codes.ok:
|
||||||
self._logger.error('Error trying to get matrix distance from mapzen',
|
self._logger.error('Error trying to get matrix distance from mapzen',
|
||||||
data={"response": response.json(), "locations":
|
data={"response": response, "locations":
|
||||||
locations, "costing": costing})
|
locations, "costing": costing})
|
||||||
raise Exception('Error trying to get matrix distance from mapzen')
|
raise Exception('Error trying to get matrix distance from mapzen')
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ from setuptools import setup, find_packages
|
|||||||
setup(
|
setup(
|
||||||
name='cartodb_services',
|
name='cartodb_services',
|
||||||
|
|
||||||
version='0.7.4',
|
version='0.7.4.1',
|
||||||
|
|
||||||
description='CartoDB Services API Python Library',
|
description='CartoDB Services API Python Library',
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user