Merge "Fix a error exception code"
This commit is contained in:
commit
08ee487b0b
@ -453,7 +453,7 @@ class Fault(webob.exc.HTTPException):
|
|||||||
code_wrapper = {
|
code_wrapper = {
|
||||||
400: webob.exc.HTTPBadRequest,
|
400: webob.exc.HTTPBadRequest,
|
||||||
401: webob.exc.HTTPUnauthorized,
|
401: webob.exc.HTTPUnauthorized,
|
||||||
403: webob.exc.HTTPUnauthorized,
|
403: webob.exc.HTTPForbidden,
|
||||||
404: webob.exc.HTTPNotFound,
|
404: webob.exc.HTTPNotFound,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user