Commit ba7ea2b
committed
Fix issue with flask url handler returning an iterator.
If the iterator does some actual job then yield's part of response, sentry sdk would not catch anything after the url handler itself returned, and will miss everything being done in the iterator. This fixes the issue.
Signed-off-by: Wei Mingzhi <[email protected]>1 parent 200d0cd commit ba7ea2b
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
142 | | - | |
| 146 | + | |
| 147 | + | |
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
| |||
0 commit comments