Title: Handle promise rejection in demoGithubUser call by AlexNT-maker · Pull Request #3965 · javascript-tutorial/en.javascript.info · GitHub
Open Graph Title: Handle promise rejection in demoGithubUser call by AlexNT-maker · Pull Request #3965 · javascript-tutorial/en.javascript.info
X Title: Handle promise rejection in demoGithubUser call by AlexNT-maker · Pull Request #3965 · javascript-tutorial/en.javascript.info
Description: Modern JavaScript Tutorial . Contribute to javascript-tutorial/en.javascript.info development by creating an account on GitHub.
Open Graph Description: Added a .catch(alert) safety net to the demoGithubUser() call to prevent an unhandled promise rejection in case the thrown error is not an HttpError.
X Description: Added a .catch(alert) safety net to the demoGithubUser() call to prevent an unhandled promise rejection in case the thrown error is not an HttpError.
Opengraph URL: https://github.com/javascript-tutorial/en.javascript.info/pull/3965
X: @github
Domain: www.github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:be145940-0040-36ab-64f5-e93978f6303e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B970:54772:18A4326:231A0A9:6A58FC6B |
| html-safe-nonce | 2adbef599bbe7581b7d9bc6f6f80fb85373c4d366a4735312e0493739bbe9336 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTcwOjU0NzcyOjE4QTQzMjY6MjMxQTBBOTo2QTU4RkM2QiIsInZpc2l0b3JfaWQiOiIyMDgzOTQ0NDUzMzYzMDA2NTcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a36c85ddce54300d34b61a84ad9b3fc34260b0e3edc996af3d2d92403159ffd9 |
| hovercard-subject-tag | pull_request:3731265487 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/javascript-tutorial/en.javascript.info/3965/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fe9f179d75ed8ff0a1ee0bd11acb509c2c37c1c2457486f1a000a23c78478b06/javascript-tutorial/en.javascript.info/pull/3965 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fe9f179d75ed8ff0a1ee0bd11acb509c2c37c1c2457486f1a000a23c78478b06/javascript-tutorial/en.javascript.info/pull/3965 |
| og:image:alt | Added a .catch(alert) safety net to the demoGithubUser() call to prevent an unhandled promise rejection in case the thrown error is not an HttpError. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexNT-maker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-cache |
| go-import | github.com/javascript-tutorial/en.javascript.info git https://github.com/javascript-tutorial/en.javascript.info.git |
| octolytics-dimension-user_id | 49552305 |
| octolytics-dimension-user_login | javascript-tutorial |
| octolytics-dimension-repository_id | 93253246 |
| octolytics-dimension-repository_nwo | javascript-tutorial/en.javascript.info |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 93253246 |
| octolytics-dimension-repository_network_root_nwo | javascript-tutorial/en.javascript.info |
| 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 | 9842457e8d7e3b2e1635a63af28da35614845510 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width