We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.0.1+31aec4ebe325982fc0ef27498984b0ad9969162b
Darwin 21.6.0 x86_64 i386
test.js
process.on('uncaughtException', () => { console.log('Caught') }); throw new Error('boom')
node
$ node test.js Caught
bun
$ bun run test.js 1 | console.log("Caught"); 2 | }); 3 | 4 | throw new Error("boom"); ^ error: boom at ./test.js:63:6
process 'uncaughtException' event is raised and handled
No response
The text was updated successfully, but these errors were encountered:
The same happens to process unhandledRejection event:
process
unhandledRejection
process.on('unhandledRejection', () => { console.log('Caught') }); new Promise((y,n) => { n(new Error('boom')); })
Sorry, something went wrong.
Duplicate of #429
No branches or pull requests
What version of Bun is running?
1.0.1+31aec4ebe325982fc0ef27498984b0ad9969162b
What platform is your computer?
Darwin 21.6.0 x86_64 i386
What steps can reproduce the bug?
test.js
node
bun
What is the expected behavior?
process 'uncaughtException' event is raised and handled
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: