summaryrefslogtreecommitdiff
path: root/heat/api/middleware/fault.py
diff options
context:
space:
mode:
Diffstat (limited to 'heat/api/middleware/fault.py')
-rw-r--r--heat/api/middleware/fault.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/heat/api/middleware/fault.py b/heat/api/middleware/fault.py
index 67418a77a..b6ed0f28e 100644
--- a/heat/api/middleware/fault.py
+++ b/heat/api/middleware/fault.py
@@ -93,7 +93,8 @@ class FaultWrapper(wsgi.Middleware):
'UnsupportedObjectError': webob.exc.HTTPBadRequest,
'ResourceTypeUnavailable': webob.exc.HTTPBadRequest,
'InvalidBreakPointHook': webob.exc.HTTPBadRequest,
- 'ImmutableParameterModified': webob.exc.HTTPBadRequest
+ 'ImmutableParameterModified': webob.exc.HTTPBadRequest,
+ 'CircularDependencyException': webob.exc.HTTPBadRequest
}
def _map_exception_to_error(self, class_exception):