Reviewed: https://review.openstack.org/81876 Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=e43825bd1c67d22f012978c5de6feff028c75d40 Submitter: Jenkins Branch: master
commit e43825bd1c67d22f012978c5de6feff028c75d40 Author: Johannes Erdfelt <email address hidden> Date: Thu Mar 20 11:11:12 2014 -0700
Print a useful message for unknown server errors
If a server error is returned that has an unknown code, novaclient will end up printing something similar to:
ClientException: <attribute 'message' of 'exceptions.BaseException' objects>
Setting a message for ClientException will ensure that something more useful than that is printed.
Change-Id: I43a2a33017f9a5c1b79d7fd8af4153e91d296f7b Closes-bug: 1295293
Reviewed: https:/ /review. openstack. org/81876 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=e43825bd1c6 7d22f012978c5de 6feff028c75d40
Committed: https:/
Submitter: Jenkins
Branch: master
commit e43825bd1c67d22 f012978c5de6fef f028c75d40
Author: Johannes Erdfelt <email address hidden>
Date: Thu Mar 20 11:11:12 2014 -0700
Print a useful message for unknown server errors
If a server error is returned that has an unknown code, novaclient will
end up printing something similar to:
ClientExcep tion: <attribute 'message' of 'exceptions. BaseException' objects>
Setting a message for ClientException will ensure that something more
useful than that is printed.
Change-Id: I43a2a33017f9a5 c1b79d7fd8af415 3e91d296f7b
Closes-bug: 1295293