Content-Length: 274935 | pFad | http://github.com/javascript-tutorial/en.javascript.info/pull/3965

51 Handle promise rejection in demoGithubUser call by AlexNT-maker · Pull Request #3965 · javascript-tutorial/en.javascript.info · GitHub
Skip to content

Handle promise rejection in demoGithubUser call#3965

Open
AlexNT-maker wants to merge 1 commit into
javascript-tutorial:masterfrom
AlexNT-maker:master
Open

Handle promise rejection in demoGithubUser call#3965
AlexNT-maker wants to merge 1 commit into
javascript-tutorial:masterfrom
AlexNT-maker:master

Conversation

@AlexNT-maker
Copy link
Copy Markdown

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.

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.
@javascript-translate-bot javascript-translate-bot added the review needed Review needed, please approve or request changes label May 22, 2026
@javascript-translate-bot javascript-translate-bot requested a review from a team May 22, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review needed Review needed, please approve or request changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/javascript-tutorial/en.javascript.info/pull/3965

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy