summaryrefslogtreecommitdiff
path: root/oslo_middleware/catch_errors.py
diff options
context:
space:
mode:
authorMehdi Abaakouk <sileht@redhat.com>2015-08-20 07:52:59 +0200
committerMehdi Abaakouk <sileht@redhat.com>2015-08-20 16:49:32 +0200
commitc78b156723cb4895be2ee0a55e4b9d9726b5b1c1 (patch)
tree2aaea2563439b7bd90010decc3fcbd7d468819f1 /oslo_middleware/catch_errors.py
parenta5a0a2f7a7926da4fb9025123d99ff44fa1a6afe (diff)
downloadoslo-middleware-c78b156723cb4895be2ee0a55e4b9d9726b5b1c1.tar.gz
Restore backward compat of paste factory
Some application inherits from our middleware class When we homogenize the signature and configuration handling of all middlewares we break them. This change fixes that. Closes-bug: #1486735 Change-Id: I40c3d59110c6f8c5a1b3d3ccc734dc441069b025
Diffstat (limited to 'oslo_middleware/catch_errors.py')
-rw-r--r--oslo_middleware/catch_errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_middleware/catch_errors.py b/oslo_middleware/catch_errors.py
index 5004859..f2c4d69 100644
--- a/oslo_middleware/catch_errors.py
+++ b/oslo_middleware/catch_errors.py
@@ -25,7 +25,7 @@ from oslo_middleware import base
LOG = logging.getLogger(__name__)
-class CatchErrors(base.Middleware):
+class CatchErrors(base.ConfigurableMiddleware):
"""Middleware that provides high-level error handling.
It catches all exceptions from subsequent applications in WSGI pipeline