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

Make parallel throw descriptive errors on not-stream. #318

Merged
merged 1 commit into from
Jun 4, 2015

Conversation

vqvu
Copy link
Collaborator

@vqvu vqvu commented Jun 4, 2015

Apparently, parallel currently throws an undescriptive error along the lines of TypeError: undefined is not a function when applied to a stream of non-streams (see #316 (comment)). Make it emit downstream (instead of throw) a descriptive error like what sequence and series does.

@LewisJEllis
Copy link
Collaborator

Looks good to me.

@svozza
Copy link
Collaborator

svozza commented Jun 4, 2015

Yeah, I've actually been bitten by this before.

@vqvu vqvu added this to the v2.6.0 milestone Jun 4, 2015
@vqvu
Copy link
Collaborator Author

vqvu commented Jun 4, 2015

Awesome!

vqvu added a commit that referenced this pull request Jun 4, 2015
Make parallel throw descriptive errors on not-stream.
@vqvu vqvu merged commit 108f632 into caolan:master Jun 4, 2015
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.

3 participants