commit 1270e11ef9fb3723e4a86bfe99d500ffbe615a4d
Author: Ewan Mellor <email address hidden>
Date: Fri Nov 4 14:00:37 2011 -0700
Bug #886353: Faults raised by OpenStack API Resource handlers fail to be reported properly
In Resource.__call__, catch any faults.Fault that are thrown by the request
handler, and make those the action_result. This means that the Fault doesn't
fall into the exception handler below (faults.Fault is a subclass of
webob.exc.HTTPException) and so we don't attempt to wrap a Fault in a Fault.
(cherry picked from commit 01150b5d0d482a83a1065c2a6d62f4963c9f838d)
Reviewed: https:/ /review. openstack. org/2180 github. com/openstack/ nova/commit/ 1270e11ef9fb372 3e4a86bfe99d500 ffbe615a4d
Committed: http://
Submitter: Jenkins
Branch: stable/diablo
commit 1270e11ef9fb372 3e4a86bfe99d500 ffbe615a4d
Author: Ewan Mellor <email address hidden>
Date: Fri Nov 4 14:00:37 2011 -0700
Bug #886353: Faults raised by OpenStack API Resource handlers fail to be reported properly
In Resource.__call__, catch any faults.Fault that are thrown by the request exc.HTTPExcepti on) and so we don't attempt to wrap a Fault in a Fault.
handler, and make those the action_result. This means that the Fault doesn't
fall into the exception handler below (faults.Fault is a subclass of
webob.
(cherry picked from commit 01150b5d0d482a8 3a1065c2a6d62f4 963c9f838d)
Change-Id: Ica31723ddd6213 32ec4be75db0d67 5bc98905e43