lukeed / lukeed/sade

Unhandled promise rejections

Open
#49 0 comments 2 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.