Commit b6e7734
committed
fix(local): show outermost exception for chained errors
exception.values is ordered oldest→newest per the Sentry protocol,
so values[0] is the root cause. Use .at(-1) to display the outermost
exception, matching Sentry UI and Spotlight behavior.1 parent 6676aea commit b6e7734
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
| 361 | + | |
361 | 362 | | |
362 | 363 | | |
363 | 364 | | |
| |||
0 commit comments