René's URL Explorer Experiment


Title: Handle `SuppressedError` · Issue #8441 · getsentry/sentry-javascript · GitHub

Open Graph Title: Handle `SuppressedError` · Issue #8441 · getsentry/sentry-javascript

X Title: Handle `SuppressedError` · Issue #8441 · getsentry/sentry-javascript

Description: Problem Statement Explicit Resource Management has reached TC39 stage 3: https://github.com/tc39/proposal-explicit-resource-management Support has been added to TypeScript 5.2 beta: https://devblogs.microsoft.com/typescript/announcing-ty...

Open Graph Description: Problem Statement Explicit Resource Management has reached TC39 stage 3: https://github.com/tc39/proposal-explicit-resource-management Support has been added to TypeScript 5.2 beta: https://devblog...

X Description: Problem Statement Explicit Resource Management has reached TC39 stage 3: https://github.com/tc39/proposal-explicit-resource-management Support has been added to TypeScript 5.2 beta: https://devblog...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/8441

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Handle `SuppressedError`","articleBody":"### Problem Statement\n\nExplicit Resource Management has reached TC39 stage 3:\n[https://github.com/tc39/proposal-explicit-resource-management](\u003chttps://github.com/tc39/proposal-explicit-resource-management>)\n\nSupport has been added to TypeScript 5.2 beta:\n[https://devblogs.microsoft.com/typescript/announcing-typescript-5-2-beta/#using-declarations-and-explicit-resource-management](\u003chttps://devblogs.microsoft.com/typescript/announcing-typescript-5-2-beta/#using-declarations-and-explicit-resource-management>)\n\nWhen this makes it into browsers/node.js/platforms, there will be a new error type called [`SuppressedError`](\u003chttps://github.com/tc39/proposal-explicit-resource-management#the-suppressederror-error>) which wraps any exception thrown and also any exception thrown during resource disposal.\n\nReporting `SuppressedError` directly to Sentry will likely be not that useful so the error(s) should be pulled out.\n\n```ts\nclass SuppressedError extends Error {\n  /**\n   * Wraps an error that suppresses another error, and the error that was suppressed.\n   * @param {*} error The error that resulted in a suppression.\n   * @param {*} suppressed The error that was suppressed.\n   * @param {string} message The message for the error.\n   * @param {{ cause?: * }} [options] Options for the error.\n   */\n  constructor(error, suppressed, message, options);\n\n  /**\n   * The name of the error (i.e., `\"SuppressedError\"`).\n   * @type {string}\n   */\n  name = \"SuppressedError\";\n\n  /**\n   * The error that resulted in a suppression.\n   * @type {*}\n   */\n  error;\n\n  /**\n   * The error that was suppressed.\n   * @type {*}\n   */\n  suppressed;\n\n  /**\n   * The message for the error.\n   * @type {*}\n   */\n  message;\n}\n```\n\nThe TypeScript introduction gives a good example of how these properties are populated:\n\n```ts\nclass ErrorA extends Error {\n    name = \"ErrorA\";\n}\nclass ErrorB extends Error {\n    name = \"ErrorB\";\n}\n\nfunction throwy(id: string) {\n    return {\n        [Symbol.dispose]() {\n            throw new ErrorA(`Error from ${id}`);\n        }\n    };\n}\n\nfunction func() {\n    using a = throwy(\"a\");\n    throw new ErrorB(\"oops!\")\n}\n\ntry {\n    func();\n}\ncatch (e: any) {\n    console.log(e.name); // SuppressedError\n    console.log(e.message); // An error was suppressed during disposal.\n\n    console.log(e.error.name); // ErrorA\n    console.log(e.error.message); // Error from a\n\n    console.log(e.suppressed.name); // ErrorB\n    console.log(e.suppressed.message); // oops!\n}\n```","author":{"url":"https://github.com/timfish","@type":"Person","name":"timfish"},"datePublished":"2023-07-01T20:23:24Z","url":"https://github.com/getsentry/sentry-javascript/issues/8441"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:dd7f5bce-efcc-7d02-4147-d3e11d292a9a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id849E:28DCA8:DA912:1319D8:6B041569
html-safe-noncee2465496f0ddbff0e2fd41d9147d585214eb307636a1b91fe253121cd7362d08
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDlFOjI4RENBODpEQTkxMjoxMzE5RDg6NkIwNDE1NjkiLCJ2aXNpdG9yX2lkIjoiODM4MzkyNzY0NzA4Mzk1OTY1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac16c79f9dbce2879f1edb347b9c1821820e56099cb9a2cae6074132e4c340ab89
hovercard-subject-tagissue:1784203779
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/8441/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fe3e0abaa6bfb8ea82dceecbcc72f18ab2914f197d8d379200c6ab7226f82184/getsentry/sentry-javascript/issues/8441
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fe3e0abaa6bfb8ea82dceecbcc72f18ab2914f197d8d379200c6ab7226f82184/getsentry/sentry-javascript/issues/8441
og:image:altProblem Statement Explicit Resource Management has reached TC39 stage 3: https://github.com/tc39/proposal-explicit-resource-management Support has been added to TypeScript 5.2 beta: https://devblog...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametimfish
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/8441#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F8441
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%2Fissues%2F8441
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/8441
Reloadhttps://github.com/getsentry/sentry-javascript/issues/8441
Reloadhttps://github.com/getsentry/sentry-javascript/issues/8441
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
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/8441
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/8441
#25246https://github.com/getsentry/sentry-javascript/pull/25246
Handle SuppressedErrorhttps://github.com/getsentry/sentry-javascript/issues/8441#top
#25246https://github.com/getsentry/sentry-javascript/pull/25246
https://github.com/JPeer264
Corehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Core%22
Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Improvement%22
https://github.com/timfish
timfishhttps://github.com/timfish
on Jul 1, 2023https://github.com/getsentry/sentry-javascript/issues/8441#issue-1784203779
https://github.com/tc39/proposal-explicit-resource-managementhttps://github.com/tc39/proposal-explicit-resource-management
https://devblogs.microsoft.com/typescript/announcing-typescript-5-2-beta/#using-declarations-and-explicit-resource-managementhttps://devblogs.microsoft.com/typescript/announcing-typescript-5-2-beta/#using-declarations-and-explicit-resource-management
SuppressedErrorhttps://github.com/tc39/proposal-explicit-resource-management#the-suppressederror-error
Nexthttps://github.com/getsentry/sentry-javascript/issues/8441?timeline_page=1
timfishhttps://github.com/timfish
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
on Jul 1, 2023https://github.com/getsentry/sentry-javascript/issues/8441#event-9697507868
getsantryhttps://github.com/apps/getsantry
Status: Untriagedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Untriaged%22
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Jul 1, 2023https://github.com/getsentry/sentry-javascript/issues/8441#event-9697507906
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
on Jul 1, 2023https://github.com/getsentry/sentry-javascript/issues/8441#event-14894232712
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
on Jul 1, 2023https://github.com/getsentry/sentry-javascript/issues/8441
https://github.com/timfish
timfishhttps://github.com/timfish
on Jul 2, 2023https://github.com/getsentry/sentry-javascript/issues/8441#issuecomment-1616598544
Handle AggregateErrors #5469https://github.com/getsentry/sentry-javascript/issues/5469
timfishhttps://github.com/timfish
on Jul 2, 2023https://github.com/getsentry/sentry-javascript/issues/8441#event-9699553499
Lms24https://github.com/Lms24
Status: Backloghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Backlog%22
Status: Untriagedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Untriaged%22
on Jul 5, 2023https://github.com/getsentry/sentry-javascript/issues/8441#event-9728193051
Fwang36https://github.com/Fwang36
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Jul 11, 2023https://github.com/getsentry/sentry-javascript/issues/8441#event-9791368539
hubertdeng123https://github.com/hubertdeng123
Status: Backloghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Backlog%22
on Jul 26, 2023https://github.com/getsentry/sentry-javascript/issues/8441#event-9926445208
AbhiPrasadhttps://github.com/AbhiPrasad
Package: Corehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20Core%22
on Apr 10, 2024https://github.com/getsentry/sentry-javascript/issues/8441#event-12428048395
linearhttps://github.com/apps/linear
Migratedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Migrated%22
on Jan 9, 2025https://github.com/getsentry/sentry-javascript/issues/8441#event-15872447037
stephanie-andersonhttps://github.com/stephanie-anderson
Migratedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Migrated%22
on Mar 13, 2025https://github.com/getsentry/sentry-javascript/issues/8441#event-16743664571
getsentry/sentry-javascripthttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22getsentry%2Fsentry-javascript%22
on Apr 7, 2025https://github.com/getsentry/sentry-javascript/issues/8441#event-17159578516
mydeahttps://github.com/mydea
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
on Apr 14, 2025https://github.com/getsentry/sentry-javascript/issues/8441#event-17249874319
stephanie-andersonhttps://github.com/stephanie-anderson
Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=type:"Improvement"
on Aug 12, 2025https://github.com/getsentry/sentry-javascript/issues/8441#event-19106519072
chargomehttps://github.com/chargome
Corehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Core%22
Package: corehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20core%22
on Mar 20, 2026https://github.com/getsentry/sentry-javascript/issues/8441#event-23747837274
https://github.com/kunal649
kunal649https://github.com/kunal649
on Oct 11, 2026https://github.com/getsentry/sentry-javascript/issues/8441#issuecomment-6112581005
#25246https://github.com/getsentry/sentry-javascript/pull/25246
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Oct 11, 2026https://github.com/getsentry/sentry-javascript/issues/8441#event-32999284523
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Oct 11, 2026https://github.com/getsentry/sentry-javascript/issues/8441#event-33182751305
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Oct 11, 2026https://github.com/getsentry/sentry-javascript/issues/8441
https://github.com/JPeer264
JPeer264https://github.com/JPeer264
on Oct 12, 2026https://github.com/getsentry/sentry-javascript/issues/8441#issuecomment-6122990556
@kunal649https://github.com/kunal649
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Oct 12, 2026https://github.com/getsentry/sentry-javascript/issues/8441#event-33040949154
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Oct 12, 2026https://github.com/getsentry/sentry-javascript/issues/8441
JPeer264https://github.com/JPeer264
on Oct 12, 2026https://github.com/getsentry/sentry-javascript/issues/8441#event-33046302793
timfishhttps://github.com/timfish
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#25246https://github.com/getsentry/sentry-javascript/pull/25246
on Oct 14, 2026https://github.com/getsentry/sentry-javascript/issues/8441#event-33254410098
timfishhttps://github.com/timfish
on Oct 14, 2026https://github.com/getsentry/sentry-javascript/issues/8441#event-33254411901
feat(core): Support SuppressedError in LinkedErrors integration (#25246)https://github.com/getsentry/sentry-javascript/commit/747134758f4f6cb9ab522aa03bdf5a188ffe958c
#25246https://github.com/getsentry/sentry-javascript/pull/25246
7471347https://github.com/getsentry/sentry-javascript/commit/747134758f4f6cb9ab522aa03bdf5a188ffe958c
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Oct 15, 2026https://github.com/getsentry/sentry-javascript/issues/8441#issuecomment-6189755132
GitHub Actionshttps://help.github.com/en/actions
#25246https://github.com/getsentry/sentry-javascript/pull/25246
11.8.0 releasehttps://github.com/getsentry/sentry-javascript/releases/tag/11.8.0
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/8441
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/8441
JPeer264https://github.com/JPeer264
Corehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Core%22
Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Improvement%22
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
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-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.