-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
「captureRejections」property works different in node REPL with node file.js #41391
Labels
Comments
Scared-Heart
changed the title
node REPL works different with node file.js
「captureRejections」property works different in node REPL and node file.js
Jan 4, 2022
Scared-Heart
changed the title
「captureRejections」property works different in node REPL and node file.js
「captureRejections」property works different in node REPL with node file.js
Jan 4, 2022
This bug is triggered by |
ZYSzys
added
confirmed-bug
Issues with confirmed bugs.
repl
Issues and PRs related to the REPL subsystem.
labels
Jan 4, 2022
Linkgoron
pushed a commit
to Linkgoron/node
that referenced
this issue
Jan 31, 2022
PR-URL: nodejs#41414 Fixes: nodejs#41391 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Version
v15.0.1
Platform
19.5.0 Darwin Kernel Version 19.5.0
Subsystem
No response
What steps will reproduce the bug?
create a js file with the code blow
run node file.js
output
as expected.
however then i run with node REPL
output
not expected
How often does it reproduce? Is there a required condition?
always
What is the expected behavior?
captureRejections in node REPL works fine
What do you see instead?
same code
REPL output:
node file.js output
Additional information
No response
The text was updated successfully, but these errors were encountered: