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

triggerPromise and Bluebird 3.0 warnings #9

Open
myndzi opened this issue Nov 5, 2015 · 0 comments
Open

triggerPromise and Bluebird 3.0 warnings #9

myndzi opened this issue Nov 5, 2015 · 0 comments

Comments

@myndzi
Copy link

myndzi commented Nov 5, 2015

I recently updated all the packages in a project and now I'm getting a lot of long noisy warnings from Bluebird:

"Warning: a promise was created in a handler but was not returned from it"

at triggerPromise from Object.functor (stack dump meaningless because it's a browserified bundle)

The Bluebird docs state that if you want to do this intentionally without a warning, you have to return a value (such as null) from the parent. Any chance of implementing this behavior? The only option for a consumer is to disable such warnings globally, and for obvious reasons that's undesirable.

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