File tree 2 files changed +9
-2
lines changed
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:
9
9
For details on the availability of Windows binaries see:
10
10
11
11
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):
1117
1117
for item in self .generator :
1118
1118
yield item
1119
1119
except Exception :
1120
- self .debug_exception ()
1120
+ self .run_post_mortem ()
1121
1121
raise
1122
1122
1123
1123
def close (self ):
1124
1124
try :
1125
1125
if hasattr (self .generator , 'close' ):
1126
1126
return self .generator .close ()
1127
1127
except Exception :
1128
- self .debug_exception ()
1128
+ self .run_post_mortem ()
1129
1129
raise
1130
1130
1131
1131
class RequestRecorder (object ):
You can’t perform that action at this time.
0 commit comments