Commit 78e7687
committed
Fix issue with flask url handler returning an iterator.
If the iterator acts like doing some actual job then yield part of response, sentry sdk would not catch anything after the url handler itself ended. This fixes the issue.
Signed-off-by: Wei Mingzhi <[email protected]>1 parent 200d0cd commit 78e7687
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