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 | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:ff2e7944-22bc-0dc9-fc48-505c8574053f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A0DC:8506A:622E04:86152A:6A5929F6 |
| html-safe-nonce | 472ff238b71ba530ac75484a89a7e7820bbf4db3d3c57113e20289a95b46a51f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMERDOjg1MDZBOjYyMkUwNDo4NjE1MkE6NkE1OTI5RjYiLCJ2aXNpdG9yX2lkIjoiNjc4MDE4NzM0NzI1MDgxNTkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 48cd8f44fcf829d9a0dbd9831ddb4e7b0ca20528eebdfe67bfbd396273f1929a |
| 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/javascript-tutorial/en.javascript.info/pull/3965/commits |
| 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 | 30abb2b48d3b1b476bbaf01f49ead8ef91062bfd762d3fa28a956f4c99653343 |
| 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 | f2e5b4fd472ea10ac216e358bbd0821a90dae8bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width