diff options
| author | Ewan Mellor <ewan.mellor@citrix.com> | 2011-11-04 14:00:37 -0700 |
|---|---|---|
| committer | Ewan Mellor <ewan.mellor@citrix.com> | 2011-11-04 14:00:37 -0700 |
| commit | 01150b5d0d482a83a1065c2a6d62f4963c9f838d (patch) | |
| tree | ac2fb88bb77453d7c5a4ba7742edff768e6f2eb9 /nova/utils.py | |
| parent | 67a1c257f9e4be774da5acf2c1b703d196e0a2cf (diff) | |
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.
Change-Id: Ica31723ddd621332ec4be75db0d675bc98905e43
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions
