You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the try-catch block cannot be removed, otherwise the abort would not be triggered.
And, only some parameter for '_forkChild' can trigger an abort. In my practice, 3, 6, 8, and 9 do.
How often does it reproduce? Is there a required condition?
Saving the code in a file and running it by passing as command line parameter can trigger this abort, but directly running the code in an interactive way would not.
What is the expected behavior?
If any error occurs, an exception or other similar error-reporting stuff should be thrown. There is no reason to abort for the whole node process.
I agree with @rickyes, I think it hasn't good benefits to check value for an unpublic API cause it will decrease the performance. and our node.js core wouldn't pass the invalid value for these API
What steps will reproduce the bug?
Save the following code in a file:
then run the code:
Note that the try-catch block cannot be removed, otherwise the abort would not be triggered.
And, only some parameter for '_forkChild' can trigger an abort. In my practice, 3, 6, 8, and 9 do.
How often does it reproduce? Is there a required condition?
Saving the code in a file and running it by passing as command line parameter can trigger this abort, but directly running the code in an interactive way would not.
What is the expected behavior?
If any error occurs, an exception or other similar error-reporting stuff should be thrown. There is no reason to abort for the whole node process.
What do you see instead?
Additional information
The text was updated successfully, but these errors were encountered: