Comment 1 for bug 1022727

Revision history for this message
Jay Pipes (jaypipes) wrote :

Yeah, this is true. I fixed this up for the 500 error series (looking up various things like 'computeFault', 'cloudServersFault', and 'error' keys in the returned body).

You can go either route I suppose... or do something like check for 'badRequest in body, and if so, grab the message, if not just dump the body text/json to the exception raised.