Title: asyncId for unhandled rejected Promise · Issue #37244 · nodejs/node · GitHub
Open Graph Title: asyncId for unhandled rejected Promise · Issue #37244 · nodejs/node
X Title: asyncId for unhandled rejected Promise · Issue #37244 · nodejs/node
Description: Is your feature request related to a problem? Please describe. I am trying to track the lifecycle events of a Promise. With async_hooks I am able to get those and each Promise is assigned an asyncId. However, I wish to know the asyncId o...
Open Graph Description: Is your feature request related to a problem? Please describe. I am trying to track the lifecycle events of a Promise. With async_hooks I am able to get those and each Promise is assigned an asyncI...
X Description: Is your feature request related to a problem? Please describe. I am trying to track the lifecycle events of a Promise. With async_hooks I am able to get those and each Promise is assigned an asyncI...
Opengraph URL: https://github.com/nodejs/node/issues/37244
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"asyncId for unhandled rejected Promise","articleBody":"\r\n**Is your feature request related to a problem? Please describe.**\r\nI am trying to track the lifecycle events of a `Promise`. With `async_hooks` I am able to get those and each `Promise` is assigned an `asyncId`. However, I wish to know the `asyncId` of a `Promise` that was rejected and didn't have a `catch` handler attached to it. I see that with there is `process.on('unhandledRejection')`, but I don't believe that can give that info.\r\n\r\n**Describe the solution you'd like**\r\nA way to be informed of the `asyncId` for an unhandled `Promise`.\r\n","author":{"url":"https://github.com/sajal50","@type":"Person","name":"sajal50"},"datePublished":"2021-02-06T02:54:25Z","url":"https://github.com/nodejs/node/issues/37244"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:19a1dbf0-854d-c536-0cbf-6336253871bd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A76:2037A8:7EE98:A938B:6AED333F |
| html-safe-nonce | f61853092685720f546ab1f369a429f9de19e1e24af44aea28765b9a80a75035 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTc2OjIwMzdBODo3RUU5ODpBOTM4Qjo2QUVEMzMzRiIsInZpc2l0b3JfaWQiOiI0NTIzNDY4NjU0NjgxODYyOTc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 34b9d86e017d6f966f4b08fc8c5986124141aa63587795789bc14cbde9784e43 |
| hovercard-subject-tag | issue:802592112 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/37244/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cbd6346d2f2eceb2d43e31287147785203c84b05fe3e68f998b9103f303b7dca/nodejs/node/issues/37244 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cbd6346d2f2eceb2d43e31287147785203c84b05fe3e68f998b9103f303b7dca/nodejs/node/issues/37244 |
| og:image:alt | Is your feature request related to a problem? Please describe. I am trying to track the lifecycle events of a Promise. With async_hooks I am able to get those and each Promise is assigned an asyncI... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sajal50 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e51d0b7b5ab34b1688c05b54c3ed17b8658b2fa9bca973a9c740683ccb12cf4a |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ebb7b901cc154ecc179a44f266fcf69f343b30 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width