Commit ebd1555
committed
Use the stack trace of the errored Fiber instead of the Error Boundary
Ideally we'd show the whole failed subtree including the errored Component.
We have the metrics for it. We just need to stash the Fibers somewhere.
In the meantime we just change the stack trace of the error boundary entry.1 parent a3e2b11 commit ebd1555
1 file changed
+14
-1
lines changedLines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
244 | 253 | | |
245 | 254 | | |
246 | 255 | | |
| |||
252 | 261 | | |
253 | 262 | | |
254 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
255 | 269 | | |
256 | 270 | | |
257 | 271 | | |
| |||
267 | 281 | | |
268 | 282 | | |
269 | 283 | | |
270 | | - | |
271 | 284 | | |
272 | 285 | | |
273 | 286 | | |
| |||
0 commit comments