René's URL Explorer Experiment


Title: fix(angular): Filter out `TryCatch` integration by default by Lms24 · Pull Request #8367 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(angular): Filter out `TryCatch` integration by default by Lms24 · Pull Request #8367 · getsentry/sentry-javascript

X Title: fix(angular): Filter out `TryCatch` integration by default by Lms24 · Pull Request #8367 · getsentry/sentry-javascript

Description: As explained in #5417 (comment), the TryCatch default integration interferes with the SentryErrorHander error handler of the Angular(-Ivy) SDKs by catching certain errors too early, before the Angular SDK-specific error handler can catch them. This caused missing data on the event in some or duplicated errors in other cases. This PR filters out the TryCatch by default, as long as users didn't set defaultIntegrations in their SDK init. Therefore, it makes the previously provided workaround obsolete. The fix isn't ideal for two reasons but IMO we should nevertheless do this now to fix a long lasting problem and clean things up in v8: If users did not set up SentryErrorHandler as documented, certain errors might not be caught anymore. However, I don't think we should degrade the Sentry experience for everyone who set up the SDK correctly to account for this edge case. We cannot remove the TryCatch integration from the exported defaultIntegrations array of the SDK as this would be a breaking change. This also means that the integration will be bundled and only filtered at runtime for now. I've added the removal of the integration to our v8 deprecation/removals list (#5194). closes #2744 ref #5417

Open Graph Description: As explained in #5417 (comment), the TryCatch default integration interferes with the SentryErrorHander error handler of the Angular(-Ivy) SDKs by catching certain errors too early, before the Angu...

X Description: As explained in #5417 (comment), the TryCatch default integration interferes with the SentryErrorHander error handler of the Angular(-Ivy) SDKs by catching certain errors too early, before the Angu...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/8367

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d41f66a0-9b57-a72a-520a-ec1ab862c438
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9A20:2DFC9:5AA481:7F8944:6B04486F
html-safe-noncef51e9df9b68e786f88bca57de88a8b6757689362041df6b16b9e3ca1ba1aa627
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTIwOjJERkM5OjVBQTQ4MTo3Rjg5NDQ6NkIwNDQ4NkYiLCJ2aXNpdG9yX2lkIjoiODU1MDE1Nzk5OTcyNDA1NDYzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb42d2476b8213c6ba140736a32da2747807719678b32a237ba8e5614cb903e2b
hovercard-subject-tagpull_request:1399458240
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-javascript/pull/8367/files
twitter:imagehttps://avatars.githubusercontent.com/u/8420481?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/8420481?s=400&v=4
og:image:altAs explained in #5417 (comment), the TryCatch default integration interferes with the SentryErrorHander error handler of the Angular(-Ivy) SDKs by catching certain errors too early, before the Angu...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/8367/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F8367%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F8367%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8367/files
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8367/files
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8367/files
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/fix-angular-trycatchhttps://github.com/getsentry/sentry-javascript/tree/lms/fix-angular-trycatch
Conversation 3 https://github.com/getsentry/sentry-javascript/pull/8367
Commits 1 https://github.com/getsentry/sentry-javascript/pull/8367/commits
Checks 0 https://github.com/getsentry/sentry-javascript/pull/8367/checks
Files changed https://github.com/getsentry/sentry-javascript/pull/8367/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8367/files
fix(angular): Filter out TryCatch integration by default https://github.com/getsentry/sentry-javascript/pull/8367/files#top
Show all changes 1 commit https://github.com/getsentry/sentry-javascript/pull/8367/files
27863f8 fix(angular): Filter out `TryCatch` integration by default Lms24 Jun 20, 2023 https://github.com/getsentry/sentry-javascript/pull/8367/commits/27863f81d1e44e8cf47c792d0110940eac0bace5
Clear filters https://github.com/getsentry/sentry-javascript/pull/8367/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8367/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8367/files
sdk.ts https://github.com/getsentry/sentry-javascript/pull/8367/files#diff-2febdb05079994c01cb21f1df5796743af797f8448d0bfb5880af30aa7827f43
sdk.ts https://github.com/getsentry/sentry-javascript/pull/8367/files#diff-aa4bc38cedcc645153f020ec126b705ac72c675d3eeecef52a7d8d96fe7b4ff5
sdk.test.ts https://github.com/getsentry/sentry-javascript/pull/8367/files#diff-222025c45c8abe372aea4fe7cabc4be81e46c40c6edc45e3be29ee4f7c5361a9
packages/angular-ivy/src/sdk.tshttps://github.com/getsentry/sentry-javascript/pull/8367/files#diff-2febdb05079994c01cb21f1df5796743af797f8448d0bfb5880af30aa7827f43
View file https://github.com/getsentry/sentry-javascript/blob/27863f81d1e44e8cf47c792d0110940eac0bace5/packages/angular-ivy/src/sdk.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/8367/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/8367/files#diff-2febdb05079994c01cb21f1df5796743af797f8448d0bfb5880af30aa7827f43
https://github.com/getsentry/sentry-javascript/pull/8367/files#diff-2febdb05079994c01cb21f1df5796743af797f8448d0bfb5880af30aa7827f43
packages/angular/src/sdk.tshttps://github.com/getsentry/sentry-javascript/pull/8367/files#diff-aa4bc38cedcc645153f020ec126b705ac72c675d3eeecef52a7d8d96fe7b4ff5
View file https://github.com/getsentry/sentry-javascript/blob/27863f81d1e44e8cf47c792d0110940eac0bace5/packages/angular/src/sdk.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/8367/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/8367/files#diff-aa4bc38cedcc645153f020ec126b705ac72c675d3eeecef52a7d8d96fe7b4ff5
https://github.com/getsentry/sentry-javascript/pull/8367/files#diff-aa4bc38cedcc645153f020ec126b705ac72c675d3eeecef52a7d8d96fe7b4ff5
packages/angular/test/sdk.test.tshttps://github.com/getsentry/sentry-javascript/pull/8367/files#diff-222025c45c8abe372aea4fe7cabc4be81e46c40c6edc45e3be29ee4f7c5361a9
View file https://github.com/getsentry/sentry-javascript/blob/27863f81d1e44e8cf47c792d0110940eac0bace5/packages/angular/test/sdk.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/8367/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/8367/files#diff-222025c45c8abe372aea4fe7cabc4be81e46c40c6edc45e3be29ee4f7c5361a9
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.