Commit 1f024b6
committed
fix(errors): drop third-party plyr xhr noise from global error screen
Sentry wraps XMLHttpRequest and injects an app-origin stack frame, so the
hostname-based external-noise filter fails to drop errors thrown from
cdn.plyr.io. Treat plyr-originated errors as external noise so a network
hiccup in the player never triggers the full-page error screen.1 parent c9e6a7a commit 1f024b6
1 file changed
Lines changed: 9 additions & 1 deletion
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
65 | 73 | | |
66 | 74 | | |
67 | 75 | | |
| |||
0 commit comments