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: 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:6501d1db-c68c-e2d9-c642-62c5578431ec |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8C76:398343:F3778:153762:6A638E80 |
| html-safe-nonce | e2c0efb71d83d63e97f3595da6cd399d421e7d31a5b70e1524e6e18400cf9b8a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qzc2OjM5ODM0MzpGMzc3ODoxNTM3NjI6NkE2MzhFODAiLCJ2aXNpdG9yX2lkIjoiMjUyMTc4MTI4Nzg5ODAyNTYwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c343e5f01c3398de33f2d387b598f7edd4f9dfba4a8d49100732920b894b6fc3 |
| 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 | 4ca676e17c4da4532dc68541e9fc874034ae840c26b5f34da7f1c42d9a600659 |
| 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 | 3a0a9f049e072eb8e5795dfddcefdba9e277501d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width