summaryrefslogtreecommitdiff
path: root/repoze/bfg/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/wsgi.py')
-rw-r--r--repoze/bfg/wsgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/repoze/bfg/wsgi.py b/repoze/bfg/wsgi.py
index abe7ebead..027345673 100644
--- a/repoze/bfg/wsgi.py
+++ b/repoze/bfg/wsgi.py
@@ -105,7 +105,7 @@ def wsgiapp2(wrapped):
class HTTPException(object):
def __call__(self, environ, start_response, exc_info=False):
try:
- msg = escape(environ['message'])
+ msg = escape(environ['repoze.bfg.message'])
except KeyError:
msg = ''
html = """<body>