Title: doc: Event: 'unhandledRejection' code example not borked · Issue #5644 · nodejs/node · GitHub
Open Graph Title: doc: Event: 'unhandledRejection' code example not borked · Issue #5644 · nodejs/node
X Title: doc: Event: 'unhandledRejection' code example not borked · Issue #5644 · nodejs/node
Description: https://nodejs.org/api/process.html#process_event_unhandledrejection somePromise.then((res) => { return reportToUser(JSON.parse(res)); // note the typo }); // no `.catch` or `.then` Someone made off with the typo. When this is put back t...
Open Graph Description: https://nodejs.org/api/process.html#process_event_unhandledrejection somePromise.then((res) => { return reportToUser(JSON.parse(res)); // note the typo }); // no `.catch` or `.then` Someone made of...
X Description: https://nodejs.org/api/process.html#process_event_unhandledrejection somePromise.then((res) => { return reportToUser(JSON.parse(res)); // note the typo }); // no `.catch` or `.then` Someone made...
Opengraph URL: https://github.com/nodejs/node/issues/5644
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"doc: Event: 'unhandledRejection' code example not borked","articleBody":"https://nodejs.org/api/process.html#process_event_unhandledrejection\n\n``` js\nsomePromise.then((res) =\u003e {\n return reportToUser(JSON.parse(res)); // note the typo\n}); // no `.catch` or `.then`\n```\n\nSomeone [made off](https://github.com/jasnell/node/commit/f950904650a33ad9cdb0ecf6eb6cf1df335c14ca) with the typo. When this is put back together I'd suggest updating to something like:\n\n``` js\n// note the typo (`pasre`)\n```\n","author":{"url":"https://github.com/jmm","@type":"Person","name":"jmm"},"datePublished":"2016-03-10T17:55:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/5644/node/issues/5644"}
| 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:bdb662ec-748e-6661-e6e4-f586c534c8c5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD46:322E35:24C8460:32C8751:6A4F484C |
| html-safe-nonce | f52a2364248b7699a3c81adf07204b9eeac3e36a08a120bb655279df4c53f8ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDQ2OjMyMkUzNToyNEM4NDYwOjMyQzg3NTE6NkE0RjQ4NEMiLCJ2aXNpdG9yX2lkIjoiNTcwNzA0OTQxODI0ODYzNjQ5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | be8733b59473732784d4e73a947fc58fc2773cd657146e020c0d3bac9cc658f7 |
| hovercard-subject-tag | issue:139964608 |
| 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/5644/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1f7900a043125b38c360e77a2700af1885f621934453e2797672dc2cbe675bf5/nodejs/node/issues/5644 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1f7900a043125b38c360e77a2700af1885f621934453e2797672dc2cbe675bf5/nodejs/node/issues/5644 |
| og:image:alt | https://nodejs.org/api/process.html#process_event_unhandledrejection somePromise.then((res) => { return reportToUser(JSON.parse(res)); // note the typo }); // no `.catch` or `.then` Someone made of... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jmm |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width