summaryrefslogtreecommitdiff
path: root/wsgitools/middlewares.py
diff options
context:
space:
mode:
Diffstat (limited to 'wsgitools/middlewares.py')
-rw-r--r--wsgitools/middlewares.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/middlewares.py b/wsgitools/middlewares.py
index ff8120b..597c584 100644
--- a/wsgitools/middlewares.py
+++ b/wsgitools/middlewares.py
@@ -49,7 +49,7 @@ class NoWriteCallableMiddleware:
def modified_start_response(status, headers, exc_info=None):
if exc_info is not None:
todo.append(None)
- return start_response(status, headers)
+ return start_response(status, headers, exc_info)
else:
sio = StringIO.StringIO()
todo.append((status, headers, sio))