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.
Yeah, this is true. I fixed this up for the 500 error series (looking up various things like 'computeFault', 'cloudServersFa ult', 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.