diff options
author | ianb <devnull@localhost> | 2007-09-06 21:18:31 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2007-09-06 21:18:31 +0000 |
commit | e327a17504bb6a42d59cb10cf072dd0a59bb87a6 (patch) | |
tree | 0b170124dec97f52102f0476a749780e605618de /paste/wsgilib.py | |
parent | d000b53b615c9f1c4b7a34f9138990780d7891a3 (diff) | |
download | paste-e327a17504bb6a42d59cb10cf072dd0a59bb87a6.tar.gz |
exc_info should be passed up in intercept_output (if it is not, exceptions sometimes won't propogate upward properly)
Diffstat (limited to 'paste/wsgilib.py')
-rw-r--r-- | paste/wsgilib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/wsgilib.py b/paste/wsgilib.py index c7a5e05..9960587 100644 --- a/paste/wsgilib.py +++ b/paste/wsgilib.py @@ -530,7 +530,7 @@ def intercept_output(environ, application, conditional=None, def replacement_start_response(status, headers, exc_info=None): if conditional is not None and not conditional(status, headers): data.append(None) - return start_response(status, headers) + return start_response(status, headers, exc_info) if data: data[:] = [] data.append(status) |