commit 5734d7c16f3a41c250249f538f70634ad521207e
Author: Martin Tsvetanov <email address hidden>
Date: Fri Oct 16 10:28:01 2015 +0000
Fixed registry invalid token exception handling
When the registry has an error validating the token that the api
has sent it a 500 is returned rather than 401. This fix catches the
NotAuthenticated exception and throws an HTTPUnauthorized instead.
Reviewed: https:/ /review. openstack. org/235841 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=5734d7c16f3 a41c250249f538f 70634ad521207e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5734d7c16f3a41c 250249f538f7063 4ad521207e
Author: Martin Tsvetanov <email address hidden>
Date: Fri Oct 16 10:28:01 2015 +0000
Fixed registry invalid token exception handling
When the registry has an error validating the token that the api cated exception and throws an HTTPUnauthorized instead.
has sent it a 500 is returned rather than 401. This fix catches the
NotAuthenti
Change-Id: I405cd98346e2df 06c02e37bfdf903 a54a29f7b19 bug:1504184
Closes-