Skip to content

fix(core): Match wrapped Facebook Mobile browser errors in DEFAULT_IGNORE_ERRORS - #23744

Open
msonnb wants to merge 1 commit into
developfrom
ms/fix-fb-mobile-browser-ignore-errors
Open

fix(core): Match wrapped Facebook Mobile browser errors in DEFAULT_IGNORE_ERRORS#23744
msonnb wants to merge 1 commit into
developfrom
ms/fix-fb-mobile-browser-ignore-errors

Conversation

@msonnb

@msonnb msonnb commented Aug 28, 2026

Copy link
Copy Markdown
Member

What

Drops the ^ anchor on the Facebook Mobile browser pattern in DEFAULT_IGNORE_ERRORS and adds the sibling Java object is gone error.

Why

the Android WebView bridge wraps these errors as Error invoking postMessage: Java exception was raised during method invocation, so the start-anchored regex never matched. Only the end anchor is kept so the message still has to end with the known text and can't over-match unrelated errors.

Fixes #23733

…GNORE_ERRORS`

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 28.57 kB +0.05% +13 B 🔺
@sentry/browser - with treeshaking flags 26.94 kB +0.06% +14 B 🔺
@sentry/browser - with treeshaking flags tracing without tracing 26.83 kB +0.05% +12 B 🔺
@sentry/browser (incl. Tracing) 48.65 kB +0.03% +13 B 🔺
@sentry/browser (incl. Tracing + Span Streaming) 48.66 kB +0.03% +13 B 🔺
@sentry/browser (incl. Tracing, Profiling) 51.57 kB +0.03% +13 B 🔺
@sentry/browser (incl. Tracing, Replay) 88.11 kB +0.02% +12 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.54 kB +0.02% +14 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 92.81 kB +0.02% +12 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 105.76 kB +0.02% +18 B 🔺
@sentry/browser (incl. Feedback) 46.06 kB +0.04% +14 B 🔺
@sentry/browser (incl. sendFeedback) 33.64 kB +0.04% +13 B 🔺
@sentry/browser (incl. FeedbackAsync) 38.74 kB +0.04% +14 B 🔺
@sentry/browser (incl. Metrics) 29.52 kB +0.06% +16 B 🔺
@sentry/browser (incl. Logs) 29.81 kB +0.05% +12 B 🔺
@sentry/browser (incl. Metrics & Logs) 30.45 kB +0.05% +14 B 🔺
@sentry/react 30.32 kB +0.05% +13 B 🔺
@sentry/react (incl. Tracing) 50.85 kB +0.04% +19 B 🔺
@sentry/vue 35.7 kB +0.04% +13 B 🔺
@sentry/vue (incl. Tracing) 50.88 kB +0.03% +13 B 🔺
@sentry/svelte 28.6 kB +0.05% +12 B 🔺
CDN Bundle 30.36 kB +0.05% +14 B 🔺
CDN Bundle (incl. Tracing) 49.26 kB +0.03% +13 B 🔺
CDN Bundle (incl. Logs, Metrics) 32.59 kB +0.05% +15 B 🔺
CDN Bundle (incl. Tracing, Logs, Metrics) 51.16 kB +0.03% +12 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) 73.19 kB +0.02% +14 B 🔺
CDN Bundle (incl. Tracing, Replay) 86.75 kB +0.02% +13 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.63 kB +0.02% +11 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 92.65 kB +0.02% +13 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.53 kB +0.02% +14 B 🔺
CDN Bundle - uncompressed 89.97 kB +0.03% +22 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 146.87 kB +0.02% +22 B 🔺
CDN Bundle (incl. Logs, Metrics) - uncompressed 96.27 kB +0.03% +22 B 🔺
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.56 kB +0.02% +22 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 225.43 kB +0.01% +22 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.37 kB +0.01% +22 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 272.04 kB +0.01% +22 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 280.07 kB +0.01% +22 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.73 kB +0.01% +22 B 🔺
@sentry/nextjs (client) 53.43 kB +0.03% +13 B 🔺
@sentry/sveltekit (client) 49.09 kB +0.03% +14 B 🔺
@sentry/core/server 65.46 kB +0.03% +14 B 🔺
@sentry/core/browser 51.85 kB +0.03% +13 B 🔺
@sentry/node 123.13 kB +0.03% +32 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 85.23 kB - -
@sentry/node - without tracing 87.76 kB +0.05% +41 B 🔺
@sentry/node - without channel injection 102.8 kB +0.03% +27 B 🔺
@sentry/aws-serverless 95.92 kB +0.05% +40 B 🔺
@sentry/cloudflare (withSentry) - minified 200.53 kB +0.02% +22 B 🔺
@sentry/cloudflare (withSentry) 499.02 kB +0.05% +249 B 🔺

View base workflow run

@msonnb

msonnb commented Aug 31, 2026

Copy link
Copy Markdown
Member Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit b60d649. Configure here.

@msonnb
msonnb marked this pull request as ready for review August 31, 2026 07:21
@msonnb
msonnb requested review from a team, Lms24 and logaretm and removed request for a team August 31, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DEFAULT_IGNORE_ERRORS's Facebook mobile browser fails to match when wrapped in something else

1 participant