Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: more friendly error message & caught rejected promise #317

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

OrkWard
Copy link

@OrkWard OrkWard commented Sep 2, 2023

Promise.reject will create another Promise which wouldn't be caught.
When I write a script for myself, I got the error message 'uncaught reject Promise: null', which is hard to figure out the problem. A console.log here will help.

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.

1 participant