Commit 797927e
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 e77b14f commit 797927e
1 file changed
+14
-1
lines changedLines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
225 | 234 | | |
226 | 235 | | |
227 | 236 | | |
| |||
233 | 242 | | |
234 | 243 | | |
235 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
236 | 250 | | |
237 | 251 | | |
238 | 252 | | |
| |||
248 | 262 | | |
249 | 263 | | |
250 | 264 | | |
251 | | - | |
252 | 265 | | |
253 | 266 | | |
254 | 267 | | |
| |||
0 commit comments