diff options
author | Kevin Conway <kevinjacobconway@gmail.com> | 2013-06-14 16:19:40 -0500 |
---|---|---|
committer | Kevin Conway <kevinjacobconway@gmail.com> | 2013-06-19 15:22:34 -0500 |
commit | 57a10aac00b74a01ff029318f60fc20b8436ebdd (patch) | |
tree | 68574a940934049ac80afe760eb0e965144b5bae /.gitignore | |
parent | 7f4c08416a3552530ee102e7b78d19b6abda6b0a (diff) | |
download | trove-57a10aac00b74a01ff029318f60fc20b8436ebdd.tar.gz |
Fix faulty 404 errors when requesting bad versions
The problem came down to the `_dispatch` method of the openstack
common wsgi router object. When a match was not found it returned
a webob 404 exception directly rather than allowing it to be
wrapped in a serializer.
The fix involved extending the `Router` object and reimplementing
the `_dispatch()` method to use the `Fault` object that serializes
exceptions.
Change-Id: I24a590f65ff655b25cfd7d84786df3055af701f1
Fixes: bug #1174960
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions