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

Undefined next / Catch for all promise chains #22

Open
BartBucknill opened this issue Dec 15, 2017 · 0 comments
Open

Undefined next / Catch for all promise chains #22

BartBucknill opened this issue Dec 15, 2017 · 0 comments

Comments

@BartBucknill
Copy link

I'm seeing '(node:1504) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): ReferenceError: next is not defined' in terminal from some routes.

Somewhere next() is called, but is not defined (presumably not in the parameters), and this error also indicates that a .catch is probably missing in this promise chain, although it may be possible to have this error even when it is handled (https://stackoverflow.com/questions/40500490/what-is-an-unhandled-promise-rejection).

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

No branches or pull requests

1 participant