File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,10 @@ Version 4.4.20 of mod_wsgi can be obtained from:
99For details on the availability of Windows binaries see:
1010
1111 https://github.com/GrahamDumpleton/mod_wsgi/tree/master/win32
12+
13+ Bugs Fixed
14+ ----------
15+
16+ 1. Post mortem debugger would fail if the exception was raised during
17+ yielding of items from a WSGI application, or inside of any ``close() ``
18+ callable of an iterator returned from the WSGI application.
Original file line number Diff line number Diff line change @@ -1117,15 +1117,15 @@ def __iter__(self):
11171117 for item in self .generator :
11181118 yield item
11191119 except Exception :
1120- self .debug_exception ()
1120+ self .run_post_mortem ()
11211121 raise
11221122
11231123 def close (self ):
11241124 try :
11251125 if hasattr (self .generator , 'close' ):
11261126 return self .generator .close ()
11271127 except Exception :
1128- self .debug_exception ()
1128+ self .run_post_mortem ()
11291129 raise
11301130
11311131class RequestRecorder (object ):
You can’t perform that action at this time.
0 commit comments