René's URL Explorer Experiment


Title: Rethink unhandled exception handling · Issue #14 · cspotcode/node-source-map-support · GitHub

Open Graph Title: Rethink unhandled exception handling · Issue #14 · cspotcode/node-source-map-support

X Title: Rethink unhandled exception handling · Issue #14 · cspotcode/node-source-map-support

Description: Monkey-patch process._fatalException? process.on('uncaughtExceptionMonitor') https://nodejs.org/api/process.html#process_event_uncaughtexceptionmonitor Do we need to detect unhandledRejection, too? Looks like C++ starts the process of tr...

Open Graph Description: Monkey-patch process._fatalException? process.on('uncaughtExceptionMonitor') https://nodejs.org/api/process.html#process_event_uncaughtexceptionmonitor Do we need to detect unhandledRejection, too?...

X Description: Monkey-patch process._fatalException? process.on('uncaughtExceptionMonitor') https://nodejs.org/api/process.html#process_event_uncaughtexceptionmonitor Do we need to detect unhandledRejecti...

Opengraph URL: https://github.com/cspotcode/node-source-map-support/issues/14

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rethink unhandled exception handling","articleBody":"Monkey-patch `process._fatalException`?\r\n`process.on('uncaughtExceptionMonitor'`)  https://nodejs.org/api/process.html#process_event_uncaughtexceptionmonitor\r\n\r\nDo we need to detect `unhandledRejection`, too?\r\n\r\nLooks like C++ starts the process of triggering and (possibly) dying from an unhandled exception:\r\nhttps://github.com/nodejs/node/blob/65234bbce024dec9d5490b17137abe381a979a28/src/node_errors.cc#L926-L1018\r\n\r\nThis JS code -- \"global uncaught exception handler\" -- receives fatal exceptions and fires the process events:\r\nhttps://github.com/nodejs/node/blob/55745a1817152629ad492e9b8dd1e3bca49686b7/lib/internal/process/execution.js#L130-L201\r\n\r\nThis C++ reports fatal exceptions once it is clear that the exception is, indeed, fatal / unhandled.\r\nhttps://github.com/nodejs/node/blob/65234bbce024dec9d5490b17137abe381a979a28/src/node_errors.cc#L280-L418\r\n\r\nThis issue talks a bit about the hidden private symbol upon which the \"arrow message\" is stored.  \"Arrow message\" is the prefix with a caret pointing to the exact position in the code where the error occurred.\r\n```\r\nhttps://github.com/nodejs/node/issues/4835\r\n```\r\n\r\nnode's internal JS has a `setArrowMessage` function which can set this message:\r\nUsed here: https://github.com/nodejs/node/blob/e2a6399be742f53103474d9fc1e56fadf7f90ccc/lib/internal/modules/cjs/loader.js#L1146\r\n\r\nIf the line includes this directive, node does not include certain info:\r\n```\r\nthrow e; /* node-do-not-add-exception-line */\r\n```\r\n","author":{"url":"https://github.com/cspotcode","@type":"Person","name":"cspotcode"},"datePublished":"2021-07-21T04:22:39Z","url":"https://github.com/cspotcode/node-source-map-support/issues/14"}

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:235b88b4-3947-5881-3f31-675d6662a3ef
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBD8A:3988A1:12E1136:19DB3D5:6AFB71A0
html-safe-noncedf46f2264838384a1c48dac4f37183a0fa1fd46d238bdddf19884b17395c2fcb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDhBOjM5ODhBMToxMkUxMTM2OjE5REIzRDU6NkFGQjcxQTAiLCJ2aXNpdG9yX2lkIjoiNDE3NzQyMjU1NTUyODUyNDE5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4ff78a56ab26111417a2f6d99d80a5958dba87f41969accb38ea04768e8efe3d
hovercard-subject-tagissue:949308723
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/cspotcode/node-source-map-support/14/issue_layout
twitter:imagehttps://opengraph.githubassets.com/84849fcb902c4fa4ce8d0dae9689c64993eb1c74ef4e2f4a4c3ccadbb7861198/cspotcode/node-source-map-support/issues/14
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/84849fcb902c4fa4ce8d0dae9689c64993eb1c74ef4e2f4a4c3ccadbb7861198/cspotcode/node-source-map-support/issues/14
og:image:altMonkey-patch process._fatalException? process.on('uncaughtExceptionMonitor') https://nodejs.org/api/process.html#process_event_uncaughtexceptionmonitor Do we need to detect unhandledRejection, too?...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecspotcode
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
turbo-cache-controlno-preview
go-importgithub.com/cspotcode/node-source-map-support git https://github.com/cspotcode/node-source-map-support.git
octolytics-dimension-user_id376504
octolytics-dimension-user_logincspotcode
octolytics-dimension-repository_id310942201
octolytics-dimension-repository_nwocspotcode/node-source-map-support
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id310942201
octolytics-dimension-repository_network_root_nwocspotcode/node-source-map-support
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
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/cspotcode/node-source-map-support/issues/14#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcspotcode%2Fnode-source-map-support%2Fissues%2F14
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%2Fcspotcode%2Fnode-source-map-support%2Fissues%2F14
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=cspotcode%2Fnode-source-map-support
Reloadhttps://github.com/cspotcode/node-source-map-support/issues/14
Reloadhttps://github.com/cspotcode/node-source-map-support/issues/14
Reloadhttps://github.com/cspotcode/node-source-map-support/issues/14
cspotcodehttps://github.com/cspotcode
node-source-map-supporthttps://github.com/cspotcode/node-source-map-support
Codehttps://github.com/cspotcode/node-source-map-support
Issues12 (12)https://github.com/cspotcode/node-source-map-support/issues
Pull requests2 (2)https://github.com/cspotcode/node-source-map-support/pulls
Actionshttps://github.com/cspotcode/node-source-map-support/actions
Projectshttps://github.com/cspotcode/node-source-map-support/projects
Security and qualityhttps://github.com/cspotcode/node-source-map-support/security
Insightshttps://github.com/cspotcode/node-source-map-support/pulse
https://github.com/cspotcode/node-source-map-support
New issuehttps://github.com/login?return_to=https://github.com/cspotcode/node-source-map-support/issues/14
New issuehttps://github.com/login?return_to=https://github.com/cspotcode/node-source-map-support/issues/14
Rethink unhandled exception handlinghttps://github.com/cspotcode/node-source-map-support/issues/14#top
https://github.com/cspotcode
cspotcodehttps://github.com/cspotcode
on Jul 21, 2021https://github.com/cspotcode/node-source-map-support/issues/14#issue-949308723
https://nodejs.org/api/process.html#process_event_uncaughtexceptionmonitorhttps://nodejs.org/api/process.html#process_event_uncaughtexceptionmonitor
https://github.com/nodejs/node/blob/65234bbce024dec9d5490b17137abe381a979a28/src/node_errors.cc#L926-L1018https://github.com/nodejs/node/blob/65234bbce024dec9d5490b17137abe381a979a28/src/node_errors.cc#L926-L1018
https://github.com/nodejs/node/blob/55745a1817152629ad492e9b8dd1e3bca49686b7/lib/internal/process/execution.js#L130-L201https://github.com/nodejs/node/blob/55745a1817152629ad492e9b8dd1e3bca49686b7/lib/internal/process/execution.js#L130-L201
https://github.com/nodejs/node/blob/65234bbce024dec9d5490b17137abe381a979a28/src/node_errors.cc#L280-L418https://github.com/nodejs/node/blob/65234bbce024dec9d5490b17137abe381a979a28/src/node_errors.cc#L280-L418
https://github.com/nodejs/node/blob/e2a6399be742f53103474d9fc1e56fadf7f90ccc/lib/internal/modules/cjs/loader.js#L1146https://github.com/nodejs/node/blob/e2a6399be742f53103474d9fc1e56fadf7f90ccc/lib/internal/modules/cjs/loader.js#L1146
Sign up for freehttps://github.com/signup?return_to=https://github.com/cspotcode/node-source-map-support/issues/14
Sign in to commenthttps://github.com/login?return_to=https://github.com/cspotcode/node-source-map-support/issues/14
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.