]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Change Resource.__call__() to not leak internal errors.
authorGuilherme Salgado <gsalgado@gmail.com>
Wed, 2 May 2012 11:36:56 +0000 (08:36 -0300)
committerGuilherme Salgado <gsalgado@gmail.com>
Wed, 9 May 2012 18:28:27 +0000 (15:28 -0300)
commitd1c563c57df14b4d968bd576bc366d7db86b3e79
treec7ec4b9ff7adb332378f74d53259a89c0a37ae2d
parent88fab71350100ba544a0002780239042977df246
Change Resource.__call__() to not leak internal errors.

That method now catches any non-expected errors raised by the controller's
action method and turn them into an HTTPServerError. Fixes bug 980033.

Change-Id: I7f71c029fae0e27a799f11de0802bde1003683e2
TESTING
quantum/api/faults.py
quantum/tests/unit/_test_api.py
quantum/wsgi.py
run_tests.py [changed mode: 0644->0755]
tools/pip-requires
tools/test-requires