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

UnhandledPromiseRejectionWarning #15331

Closed
maicss opened this issue Sep 11, 2017 · 3 comments
Closed

UnhandledPromiseRejectionWarning #15331

maicss opened this issue Sep 11, 2017 · 3 comments
Labels
feature request Issues that request new features to be added to Node.js. promises Issues and PRs related to ECMAScript promises.

Comments

@maicss
Copy link

maicss commented Sep 11, 2017

  • Version: 8.4.0
  • Platform: Mac OS
  • Subsystem:

As a beginner, to write server, I always see this but cannot find where is the uncaught error.

Will you add the line number [or error stack]to this error?

Thanks.

@mscdex mscdex added feature request Issues that request new features to be added to Node.js. promises Issues and PRs related to ECMAScript promises. labels Sep 11, 2017
@bnoordhuis
Copy link
Member

Does node --trace-warnings script.js work for you?

@maicss
Copy link
Author

maicss commented Sep 11, 2017

I think this should be an error, and definitely avoid in development, should not be a feature that open by start runtime with some flag.

@bnoordhuis
Copy link
Member

A quick search would have led you to #12734. To summarize: it's under discussion but won't happen in the v8.x branch.

I'll go ahead and close this out. Your question has been answered and there isn't anything immediately actionable otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to Node.js. promises Issues and PRs related to ECMAScript promises.
Projects
None yet
Development

No branches or pull requests

3 participants