Add more detail to router set exception message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
New
|
Undecided
|
Anindita Das |
Bug Description
When trying to set the external-gateway of a router to a network that is an internal network it would be nice to inform the user that it is not possible because it is not an external network.
The console output shows:
HttpException: Bad Request
It would be nice if I saw the message in the responses body here:
REQ: curl -g -i -X PUT http://
http://
RESP: [400] Content-Type: application/json Content-Length: 161 X-Openstack-
RESP BODY: {"NeutronError": {"message": "Bad router request: Network a98d6817-
specifically the message in the error: ""Bad router request: Network a98d6817-
Changed in python-openstackclient: | |
assignee: | nobody → Anindita Das (anindita-das) |