Skip to content

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