Commit 80d082d
Handle chunk load errors at source to prevent Sentry propagation
After all retries are exhausted, if the error is a chunk load error,
reload the page directly instead of throwing. This ensures the error
never reaches Sentry.captureException via ErrorBoundary handlers.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 573c9a6 commit 80d082d
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
22 | 32 | | |
23 | 33 | | |
24 | 34 | | |
| |||
0 commit comments