]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Fix incorrect use of ServerError
authorSteven Hardy <shardy@redhat.com>
Wed, 21 Aug 2013 13:09:31 +0000 (14:09 +0100)
committerSteven Hardy <shardy@redhat.com>
Wed, 21 Aug 2013 13:12:11 +0000 (14:12 +0100)
commit8a9c7a11e008fde92905be1d1183da1b3f3f184c
tree5eddf5c5ddf9cb2ce123d7c459facae91057aef8
parent1623b035177272d290b7a7aa2918d9fba36405fe
Fix incorrect use of ServerError

ServerError is being incorrectly used to report an internal error
leading to an error formatting the response, as there's no body
specified to the format string.  Use exception.Error instead and
adjust the message to make the user-visible response clearer.

Fixes bug #1214457

Change-Id: I83435686170c4f40658968a35f1faa303f50f4a4
heat/engine/parser.py
heat/engine/resources/nova_utils.py
heat/tests/test_validate.py