Commit 8cc3a11
fix: import getDefaultIntegrations from @sentry/browser
@sentry/react doesn't re-export getDefaultIntegrations or
globalHandlersIntegration, so the previous code silently called
undefined. Import directly from @sentry/browser to ensure
GlobalHandlers hooks window.onerror and onunhandledrejection.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5e7b49b commit 8cc3a11
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | | - | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
0 commit comments