diff options
author | Andrew Laski <andrew.laski@rackspace.com> | 2013-05-01 21:30:52 -0400 |
---|---|---|
committer | Andrew Laski <andrew.laski@rackspace.com> | 2013-05-01 21:34:02 -0400 |
commit | 051cf0d756d9a9e1d0a5ea1169fa97d89b7885bc (patch) | |
tree | fc123b53724b87368ad29d4d4b45d46035cc8894 /nova/utils.py | |
parent | b6aac988e46147154d49e938ecf9b67831613636 (diff) | |
download | nova-051cf0d756d9a9e1d0a5ea1169fa97d89b7885bc.tar.gz nova-051cf0d756d9a9e1d0a5ea1169fa97d89b7885bc.tar.xz nova-051cf0d756d9a9e1d0a5ea1169fa97d89b7885bc.zip |
Call format_message on InstanceTypeNotFound exception
Put the exception message from InstanceTypeNotFound into the
HTTPBadRequest rather than the exception itself. Prevents a Circular
reference error during serialization later.
Bug 1175414
Change-Id: I4811e727311af670cd964a6d16ac5fce0fe3186e
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions