René's URL Explorer Experiment


Title: util: `SuppressedError` should print `error`/`suppressed` properties during inspection · Issue #66033 · nodejs/node · GitHub

Open Graph Title: util: `SuppressedError` should print `error`/`suppressed` properties during inspection · Issue #66033 · nodejs/node

X Title: util: `SuppressedError` should print `error`/`suppressed` properties during inspection · Issue #66033 · nodejs/node

Description: What is the problem this feature will solve? When a SuppressedError is thrown (e.g. from disposal errors during a using/await using block) and inspected via util.inspect() / console.log(), then the actual underlying errors (error and sup...

Open Graph Description: What is the problem this feature will solve? When a SuppressedError is thrown (e.g. from disposal errors during a using/await using block) and inspected via util.inspect() / console.log(), then the...

X Description: What is the problem this feature will solve? When a SuppressedError is thrown (e.g. from disposal errors during a using/await using block) and inspected via util.inspect() / console.log(), then the...

Opengraph URL: https://github.com/nodejs/node/issues/66033

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"util: `SuppressedError` should print `error`/`suppressed` properties during inspection","articleBody":"### What is the problem this feature will solve?\n\nWhen a `SuppressedError` is thrown (e.g. from disposal errors during a using/await using block) and inspected via `util.inspect()` / `console.log()`, then the actual underlying errors (`error` and `suppressed` properties) are not shown:\n\n```js\nclass Resource {\n  [Symbol.dispose]() {\n    throw new Error('error during dispose');\n  }\n}\nfunction test() {\n  using res = new Resource();\n  throw new Error('error during execution');\n}\ntest();\n```\nCurrent output (Node v26.8.2):\n```\nSuppressedError: An error was suppressed during disposal.\n    at test (REPL10:3:3)\n```\n\nBoth those errors are essential for debugging.\n\nThis has the exact same shape as two problems Node already solved for other \"container\" errors:\n\nAggregateError.errors was silently swallowed during inspection — fixed in #43646 (tracked in #43645).\nError.cause was silently swallowed during inspection — fixed in #41002 (tracked in #40859).\n\nSuppressedError.error / SuppressedError.suppressed fall into the same category and currently have no equivalent handling in formatError() (lib/internal/util/inspect.js).\n\n### What is the feature you are proposing to solve the problem?\n\nExtend `formatError()` so that, similar to how `cause` and `errors` are already special-cased, the non-enumerable error and suppressed properties of a SuppressedError are always included in the inspected output (recursively, since a SuppressedError can itself wrap another SuppressedError when multiple disposals fail).\n\nDesired output, roughly matching what the cause-chain rendering already does:\n```\nSuppressedError: An error was suppressed during disposal.\n    at test (…)\n    ... {\n  [error]: Error: error during dispose\n      at Resource.[Symbol.dispose] (…)\n      ...,\n  [suppressed]: Error: error during execution\n      at test (…)\n      ...\n}\n```\n\n### What alternatives have you considered?\n\n* Manually logging e.error and e.suppressed in application code — works, but requires every catch block to know it might be dealing with a SuppressedError.\n* A userland [util.inspect.custom] patch on SuppressedError.prototype — works.\n\nI believe a better out-of-the-box experience is required, rather than user-land patches. Workarounds shouldn't be necessary for a built-in error type tied to a TC39-standardized language feature","author":{"url":"https://github.com/zuozp8","@type":"Person","name":"zuozp8"},"datePublished":"2026-09-15T12:15:41Z","url":"https://github.com/nodejs/node/issues/66033"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0b86ec22-a7ac-822a-97b2-0506d10e01e7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCC56:2BA970:72B36:99095:6AED0452
html-safe-nonce7e64b0d54036063043a5446b2348c1bee14ea1964198f2d282527515101b065a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzU2OjJCQTk3MDo3MkIzNjo5OTA5NTo2QUVEMDQ1MiIsInZpc2l0b3JfaWQiOiI4OTkyOTgyMzUyMTQ0NDM0MjU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9fda06a44e6f1b1edb9487e808e2d9d7052d2dc8de2eeac79bfb00b84e925c15
hovercard-subject-tagissue:5461755154
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/nodejs/node/66033/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3e9074c3dc6426e47df93ee779f08003553ef124a7b8764fde6782377a8dd0ce/nodejs/node/issues/66033
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3e9074c3dc6426e47df93ee779f08003553ef124a7b8764fde6782377a8dd0ce/nodejs/node/issues/66033
og:image:altWhat is the problem this feature will solve? When a SuppressedError is thrown (e.g. from disposal errors during a using/await using block) and inspected via util.inspect() / console.log(), then the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezuozp8
hostnamegithub.com
expected-hostnamegithub.com
None21e10c535436b2122cfb44c76dfb4af296e371850fb60de16776f8a64e5c3ed8
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
release302a6d707c3288a5f951258a2fa3e926b8c8f8cf
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/66033#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F66033
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%2Fnodejs%2Fnode%2Fissues%2F66033
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=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/66033
Reloadhttps://github.com/nodejs/node/issues/66033
Reloadhttps://github.com/nodejs/node/issues/66033
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues654 (654)https://github.com/nodejs/node/issues
Pull requests666 (666)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/66033
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/66033
#66159https://github.com/nodejs/node/pull/66159
util: SuppressedError should print error/suppressed properties during inspectionhttps://github.com/nodejs/node/issues/66033#top
#66159https://github.com/nodejs/node/pull/66159
feature requestIssues requesting new Node.js features.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22feature%20request%22
https://github.com/zuozp8
zuozp8https://github.com/zuozp8
on Sep 15, 2026https://github.com/nodejs/node/issues/66033#issue-5461755154
#43646https://github.com/nodejs/node/pull/43646
#43645https://github.com/nodejs/node/issues/43645
#41002https://github.com/nodejs/node/pull/41002
#40859https://github.com/nodejs/node/issues/40859
zuozp8https://github.com/zuozp8
feature requestIssues requesting new Node.js features.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22feature%20request%22
on Sep 15, 2026https://github.com/nodejs/node/issues/66033#event-31171153260
github-project-automationhttps://github.com/apps/github-project-automation
Node.js feature requestshttps://github.com/orgs/nodejs/projects/4
on Sep 15, 2026https://github.com/nodejs/node/issues/66033
github-project-automationhttps://github.com/apps/github-project-automation
Node.js feature requestshttps://github.com/orgs/nodejs/projects/4
on Sep 15, 2026https://github.com/nodejs/node/issues/66033#event-31171183773
zuozp8https://github.com/zuozp8
on Sep 15, 2026https://github.com/nodejs/node/issues/66033#event-31171277175
zuozp8https://github.com/zuozp8
on Sep 15, 2026https://github.com/nodejs/node/issues/66033#event-31171299357
nodejs-github-bothttps://github.com/nodejs-github-bot
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#66159https://github.com/nodejs/node/pull/66159
on Sep 22, 2026https://github.com/nodejs/node/issues/66033#event-31602931831
nodejs-github-bothttps://github.com/nodejs-github-bot
on Sep 22, 2026https://github.com/nodejs/node/issues/66033#event-31602932122
util: show SuppressedError's error/suppressed properties on inspecthttps://github.com/nodejs/node/commit/ed9ad59672c447727725d97ed98f87e4d525f8c4
ed9ad59https://github.com/nodejs/node/commit/ed9ad59672c447727725d97ed98f87e4d525f8c4
aduh95https://github.com/aduh95
on Sep 27, 2026https://github.com/nodejs/node/issues/66033#event-31936990201
util: show SuppressedError's error/suppressed properties on inspecthttps://github.com/nodejs/node/commit/33ef1780fdd8717f6ce299df0812ea6ffc705f7e
33ef178https://github.com/nodejs/node/commit/33ef1780fdd8717f6ce299df0812ea6ffc705f7e
aduh95https://github.com/aduh95
on Oct 23, 2026https://github.com/nodejs/node/issues/66033#event-34094343492
util: show SuppressedError's error/suppressed properties on inspecthttps://github.com/nodejs/node/commit/433eb0209b59f3bbcc1d522cdc533eba14cd750f
433eb02https://github.com/nodejs/node/commit/433eb0209b59f3bbcc1d522cdc533eba14cd750f
util: show SuppressedError's error/suppressed properties on inspecthttps://github.com/nodejs/node/commit/a8b9b14e1e915c94312df838ed8b9ec80b982420
a8b9b14https://github.com/nodejs/node/commit/a8b9b14e1e915c94312df838ed8b9ec80b982420
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/66033
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/66033
feature requestIssues requesting new Node.js features.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22feature%20request%22
Node.js feature requestshttps://github.com/orgs/nodejs/projects/4
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

Viewport: width=device-width


URLs of crawlers that visited me.