Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: improve error handling in node_url #56886

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Feb 3, 2025

Eliminate uses of USE and ToLocalChecked to properly propagate errors.

Also clean up v8:: prefix uses and switch to using ToV8Value(...) where appropriate

@jasnell jasnell requested review from anonrig and legendecas February 3, 2025 03:39
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/url

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. whatwg-url Issues and PRs related to the WHATWG URL implementation. labels Feb 3, 2025
@nodejs-github-bot

This comment was marked as outdated.

Eliminate uses of USE and ToLocalChecked to properly
propagate errors
@jasnell jasnell force-pushed the jasnell/url-errorhandling branch from 6098c10 to a38dcfd Compare February 3, 2025 04:07
@nodejs-github-bot

This comment was marked as outdated.

This comment was marked as outdated.

@jasnell jasnell added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 3, 2025
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Feb 3, 2025

@jasnell jasnell added the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 3, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 5, 2025
@nodejs-github-bot nodejs-github-bot merged commit 95c04e2 into nodejs:main Feb 5, 2025
57 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 95c04e2

targos pushed a commit that referenced this pull request Feb 5, 2025
Eliminate uses of USE and ToLocalChecked to properly
propagate errors

PR-URL: #56886
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. whatwg-url Issues and PRs related to the WHATWG URL implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants