Unhandled promise rejections
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Sade is great, thanks!
I noticed that if my async handlers error out, then node exits with an UnhandledPromiseRejectionWarning but doesn't print the error message or stack trace or such. I think it'd be convenient if sade would catch these by default and print something, or give me an easy way to define an error handler (aside from manually wrapping each action).
Contributor guide
No contributing guide indexed for this repository
Research direction
No file, test, or entry point is named in the issue. Reproduce an async handler failure in a Sade CLI, then trace how rejected promises are handled; done should include a useful error message or stack trace by default, or a clearly documented error-handler path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100