JSON response is not always present, better show the reponse object complete

This commit is contained in:
Mario de Frutos 2016-08-05 11:35:16 +02:00
parent 0ef333b274
commit 0fb3cdd8b1
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class MatrixClient:
if not requests.codes.ok:
self._logger.error('Error trying to get matrix distance from mapzen',
data={"response": response.json(), "locations":
data={"response": response, "locations":
locations, "costing": costing})
raise Exception('Error trying to get matrix distance from mapzen')

View File

@ -10,7 +10,7 @@ from setuptools import setup, find_packages
setup(
name='cartodb_services',
version='0.7.4',
version='0.7.4.1',
description='CartoDB Services API Python Library',