-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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 message for invalid child stdio type in spawn_sync #57589
Open
dario-piotrowicz
wants to merge
1
commit into
nodejs:main
Choose a base branch
from
dario-piotrowicz:dario/spawn_sync_invalid_child_stdio_type_error_message
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
src: improve error message for invalid child stdio type in spawn_sync #57589
dario-piotrowicz
wants to merge
1
commit into
nodejs:main
from
dario-piotrowicz:dario/spawn_sync_invalid_child_stdio_type_error_message
+4
−1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #57589 +/- ##
==========================================
+ Coverage 90.22% 90.24% +0.01%
==========================================
Files 630 630
Lines 185149 185151 +2
Branches 36236 36241 +5
==========================================
+ Hits 167058 167090 +32
+ Misses 11035 11027 -8
+ Partials 7056 7034 -22
🚀 New features to boost your workflow:
|
anonrig
approved these changes
Mar 24, 2025
cc @nodejs/cpp-reviewers |
joyeecheung
approved these changes
Mar 24, 2025
Ethan-Arrowood
approved these changes
Mar 24, 2025
jasnell
approved these changes
Apr 1, 2025
RafaelGSS
approved these changes
Apr 7, 2025
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++.
child_process
Issues and PRs related to the child_process subsystem.
needs-ci
PRs that need a full CI run.
review wanted
PRs that need reviews.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is pretty minor, but as I was looking into #52776 (which I still am) and I noticed that the current error message that users see is not super helpful:
What I'm doing in here is simply updating this so that instead what the user sees the following:
(where
wrap
is the problematic stdio type I get for #52776)I'm not really good at C++ (I'm still learning), so if there is a better way of doing the above I would really love
some suggestions 🙂