summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/faults.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/faults.py b/nova/api/openstack/faults.py
index 1ab45d4f1..d0d078cb5 100644
--- a/nova/api/openstack/faults.py
+++ b/nova/api/openstack/faults.py
@@ -87,7 +87,7 @@ class OverLimitFault(webob.exc.HTTPException):
"""
Initialize new `OverLimitFault` with relevant information.
"""
- self.wrapped_exc = webob.exc.HTTPForbidden()
+ self.wrapped_exc = webob.exc.HTTPRequestEntityTooLarge()
self.content = {
"overLimitFault": {
"code": self.wrapped_exc.status_int,