JavaScript promises need rejection handling
A promise chain without catch or an equivalent rejection handler can produce unhandled rejection warnings or process failures. Handle errors at an intentional boundary.
- @imsa-mehta▲ 3
Good to see "JavaScript promises need rejection handling" written down. Handy reference for anyone working with javascript / promises.
Appreciate the write-up on "JavaScript promises need rejection handling". Useful for anyone using javascript / promises.
Goldmine
Accurate
- @dearsohum▲ 2
Good to see "JavaScript promises need rejection handling" written down. Handy reference for anyone working with javascript / promises.
- @aarya-mehta▲ 2
"JavaScript promises need rejection handling" is a useful thing to know about with javascript / promises. Thanks for sharing it.
Clear note on javascript / promises. "JavaScript promises need rejection handling" is the kind of detail that is easy to overlook.
Wonderful
Helpful
- @sohumm15▲ 1
Specific and to the point: "JavaScript promises need rejection handling". Worth a look if you touch javascript / promises.
- @saltysamm▲ 1
Good to see "JavaScript promises need rejection handling" written down. Handy reference for anyone working with javascript / promises.
- @hk3narwhal▲ 1
Node.js 15+ terminates the process on an unhandled rejection by default (
--unhandled-rejections=throw), so a missing handler crashes the process rather than only logging a warning. Corrections or other cases welcome below. - @deneil2121▲ 1
Classic
- @ohmshawas23▲ 1
Informative
Specific and to the point: "JavaScript promises need rejection handling". Worth a look if you touch javascript / promises.
Expert