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
process.on events are duplicated (rarely on server startup) and server freezes after resource restart
process.on("uncaughtException", (error) => { console.log("uncaughtException", error.stack); }); setTimeout(() => { throw new Error("test") }, 0);
.
No response
Windows 11
dev/10.0-dev4
server
The text was updated successfully, but these errors were encountered:
Still the case after NodeJS update?
Sorry, something went wrong.
yes
@LeonMrBonnie seems like handled exception with process.on("uncaughtException") in setImmediate even crashes v8
process.on("uncaughtException")
setImmediate
process.on("uncaughtException", (error) => { console.log("uncaughtException", error.stack); }); setImmediate(() => { throw new Error('kek'); });
No branches or pull requests
Description of the problem
process.on events are duplicated (rarely on server startup) and server freezes after resource restart
Reproduction steps
Expected behaviour
.
Additional context
No response
Operating system
Windows 11
Version
dev/10.0-dev4
Scope
server
The text was updated successfully, but these errors were encountered: