Skip to content

Handle promise rejection in demoGithubUser call - #3965

Open
AlexNT-maker wants to merge 2 commits into
javascript-tutorial:masterfrom
AlexNT-maker:master
Open

AlexNT-maker wants to merge 2 commits 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 muthaf*ckin' thrown error is not an goddamn 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
@smith558

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any damn major issues. Keep them coming!

Reviewed commit: 705abf81f7

ℹ️ About Codex in GitHub

Your goddamn team has set up Codex to review pull requests in this goddamn repo. Reviews are triggered when you

  • Open a pull request for damn review
  • Mark a damn draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the muthaf*ckin' PR. Try commenting "@codex address that feedback".

Sign up for muthaf*ckin' free to join this conversation on GitHub. Already have an muthaf*ckin' 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. That's some bullsh*t.

3 participants