Skip to content

Commit 67c8da4

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Show detailed message of neutron exception"
2 parents 10ef6d5 + 8b31e2b commit 67c8da4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

openstackclient/network/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ def take_action(self, parsed_args):
191191
self.app.client_manager.compute, parsed_args)
192192
except openstack.exceptions.HttpException as exc:
193193
msg = _("Error while executing command: %s") % exc.message
194+
if exc.details:
195+
msg += ", " + six.text_type(exc.details)
194196
raise exceptions.CommandError(msg)
195197

196198
def get_parser(self, prog_name):

0 commit comments

Comments
 (0)