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

Warning: a promise was created in a handler at scenario.js but was not returned from it #134

Open
johnsickels opened this issue Oct 20, 2021 · 0 comments

Comments

@johnsickels
Copy link
Collaborator

(node:131) Warning: a promise was created in a handler at /workspace/node_modules/flagpole/dist/scenario.js:4:12 but was not returned from it, see http://goo.gl/rRqMUw
    at Function.PromiseMapSeries [as mapSeries] (/workspace/node_modules/bluebird/js/release/each.js:11:12)

This usually means that you simply forgot a return statement somewhere, which will cause a runaway promise that is not connected to any promise chain.

We are seeing this warning a lot in one of our projects

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