Files
python-keystoneclient/keystoneclient
Jay Pipes a6102fe0b9 Ensure JSON isn't read on no HTTP response body
This patch moves the json.loads(body) call in the
HTTP response handling to after the check for non-
200-300 return codes. This gets rid of the
ValueError exception raise when you hit, for instance,
a 400 or 404.

Also changes a number of logger.exception() calls to
logger.debug() calls, since some exceptions are expected
and should not be logged as exceptions per-se.

fixes LP bug#1067512

Change-Id: If66fb1846ddc19da5bc2f15c6e0dd09019a56932
2012-10-17 14:52:48 -04:00
..
2012-10-01 17:47:34 +00:00
2012-09-29 16:03:23 -07:00
2011-10-25 16:50:08 -07:00