Skip to content

docs(errorhandling): update unhandledRejection section for Node.js 15+ default throw behavior (#1360) - #1422

Open
TheRodzz wants to merge 1 commit into
goldbergyoni:masterfrom
TheRodzz:update-node15-unhandled-rejections-doc
Open

docs(errorhandling): update unhandledRejection section for Node.js 15+ default throw behavior (#1360)#1422
TheRodzz wants to merge 1 commit into
goldbergyoni:masterfrom
TheRodzz:update-node15-unhandled-rejections-doc

Conversation

@TheRodzz

Copy link
Copy Markdown

Closes #1360

Summary

Updates sections/errorhandling/catchunhandledpromiserejection.md to accurately reflect Node.js 15+ behavior, where unhandled promise rejections default to crashing the process with exit code 1 (--unhandled-rejections=throw), while maintaining why process.on('unhandledRejection') remains essential for structured logging, alerting, and graceful shutdowns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Outdated: unhandled promise rejections no longer disappear silently since Node.js 15

2 participants