Make unhandled promise rejections fail loudly instead of the default silent fail
by sindresorhusJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
Why not just add the event ? No lib/dep required. While newer NodeJS versions will handle it automatically. DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. https://nodejs.org/api/process.html#process_event_unhandledrejection
Repository: sindresorhus/loud-rejection. Description: Make unhandled promise rejections fail loudly instead of the default silent fail Stars: 282, Forks: 16. Primary language: JavaScript. Languages: JavaScript (97.3%), TypeScript (2.7%). License: MIT. Latest release: v2.2.0 (6y ago). Open PRs: 0, open issues: 0. Last activity: 5y ago. Community health: 85%. Top contributors: sindresorhus, jamestalmage, callumlocke, BendingBender, coreyfarrell, DylanVann, LinusU, Richienb, ntwb, timdp.