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

handle predicate exceptions properly in skipWhile #3637

Merged
merged 1 commit into from
Jan 24, 2016

Conversation

davidmoten
Copy link
Collaborator

A non-fatal exception thrown by predicate.call() in OperatorSkipWhile could result in the error being reported by an upstream operator. This PR ensures that the error is reported by the operator in which it occurs.

I've added a unit test for this scenario that failed with the original code, and a couple of other tests.

There are a few more of these floating around that I'll submit PRs for as well.

@davidmoten
Copy link
Collaborator Author

unrelated unit test failure BackpressureTests.testMergeAsync

@akarnokd
Copy link
Member

👍

1 similar comment
@zsxwing
Copy link
Member

zsxwing commented Jan 24, 2016

👍

akarnokd added a commit that referenced this pull request Jan 24, 2016
handle predicate exceptions properly in skipWhile
@akarnokd akarnokd merged commit 564d7ec into ReactiveX:1.x Jan 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants