]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Only send traceback to users when in debug mode
authorClint Byrum <clint@fewbar.com>
Sat, 7 Sep 2013 03:53:58 +0000 (20:53 -0700)
committerClint Byrum <clint@fewbar.com>
Sat, 7 Sep 2013 03:53:58 +0000 (20:53 -0700)
commit9e9c747b4ec0f1972da1d122e46402b00cd0911f
treee40004db1806db72450e0cd28740c44dcceb9151
parent340dc1bdd2a14ca866e9d45f09a616359bc7521f
Only send traceback to users when in debug mode

API services currently send the traceback to clients. While the client
hides it from user view, it is still present in the response, exposing
the service to details of the engine that administrators likely would
not like to have exposed.

Fixes bug #1210623

Change-Id: I554ba24b7ac9166e28a8a0a10f566ed9cfa03014
heat/api/middleware/fault.py
heat/tests/test_api_openstack_v1.py
heat/tests/test_fault_middleware.py