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

fix: unhandled errors in observers correctly scheduled #6118

Merged

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Mar 12, 2021

  • Resolves an issue where errors thrown in a handler provided as a plain function, or as part of a POJO observer, to a subscribe call were not being handled appropriately. They will no longer synchronously throw unless useDeprecatedSynchronousErrorHandling is configured to true.
  • Removes two tests that were poorly written, and were not passing (and should never have been passing). The ground they covered is covered adequately by other tests.

- Resolves an issue where errors thrown in a handler provided as a plain function, or as part of a POJO observer, to a `subscribe` call were not being handled appropriately. They will no longer synchronously throw unless `useDeprecatedSynchronousErrorHandling` is configured to `true`.
- Removes two tests that were poorly written, and were not passing (and should never have been passing). The ground they covered is covered adequately by other tests.
@benlesh benlesh requested a review from cartant March 12, 2021 23:51
Copy link
Collaborator

@cartant cartant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I have no idea how that test passed either.

@benlesh benlesh merged commit c02ceb7 into ReactiveX:master Mar 13, 2021
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.

2 participants