The exception disguise wrapper is for the native API which uses
the faultwrap filter to process the response. For HeatAPIException
subclasses (which are only raised by the CFN/CW API's) we need to
raise the unwrapped exception or the client sees a 500 response.
Reviewed: https:/ /review. openstack. org/86280 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=31d18df4035 4f50f4eb7ab14a6 a6e67e1d480fd6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 31d18df40354f50 f4eb7ab14a6a6e6 7e1d480fd6
Author: Steven Hardy <email address hidden>
Date: Wed Apr 9 10:43:51 2014 +0100
Don't disguise CFN API exceptions
The exception disguise wrapper is for the native API which uses
the faultwrap filter to process the response. For HeatAPIException
subclasses (which are only raised by the CFN/CW API's) we need to
raise the unwrapped exception or the client sees a 500 response.
Change-Id: Iebfbc76d5cb26a a9ee61c5192d7fe cc596aa83b9
Closes-Bug: #1291079