]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
suppress and log API internal exceptions
authorLiang Chen <cbjchen@cn.ibm.com>
Fri, 7 Jun 2013 15:01:02 +0000 (23:01 +0800)
committerLiang Chen <cbjchen@cn.ibm.com>
Tue, 18 Jun 2013 02:48:07 +0000 (10:48 +0800)
commit2630356a56860ab38026a46aef9622009fc9e4cf
tree0b620c8dbb8b8ba721c0754b0a36e10763b9fb0c
parent73a9d36bb6c8494b58e6c98fd9d7fd198700899a
suppress and log API internal exceptions

add a context manager to handle exceptions generated by API
implementation methods or their decorators

Fixes bug #1187881

Change-Id: I4bd75e1e13f8327aaf2283380bf165a57a11ed8c
heat/common/wsgi.py
heat/tests/test_wsgi.py [new file with mode: 0644]