summaryrefslogtreecommitdiff
path: root/designateclient/tests/test_exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Make remote error handling more robustJens Harbott2017-09-011-0/+7
| | | | | | | | | When a RemoteError is created, it is passed the complete content of the json response from the server. Thus is can happen that it contains unexpected entries, we should just ignore them. Change-Id: I2155d1d44432884f19ef926c02b9d0f99ade57d9 Closes-Bug: 1714460
* Makes error msg more helpfulJames Li2015-09-241-0/+56
In the case that designate api returns an error response which does not have an 'message' entry, CLI will prints out nothing helpful for users. The patch grabs info from response to try to provide a helpful msg. Fixed axfr resource too. Change-Id: I810426b6d4f731cc5ead4372083abf6515c05dc3