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(Observable): do not swallow error thrown in subscriber #2626

Merged
merged 1 commit into from
Jun 14, 2017

Conversation

kwonoj
Copy link
Member

@kwonoj kwonoj commented May 29, 2017

Description:
This PR fixes regression caused by #2313. While given PR sends errors thrown via create, it catches any exception thrown observable without having operator, so some of internals like Subject.asObservable doesn't throw errors in subscriber as well for cases doesn't chain any operator. This change checks if given observable created have sources, and let throw if it has source. Any exception thrown in Observable.create will be handled in source observable in those case.

Related issue (if exists):

@kwonoj
Copy link
Member Author

kwonoj commented May 29, 2017

/cc @benlesh for visibility.

@coveralls
Copy link

coveralls commented May 29, 2017

Coverage Status

Coverage remained the same at 97.735% when pulling 05288e3 on kwonoj:fix-observable-error into 279d775 on ReactiveX:master.

@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReplaySubject.asObservable with thrown error in next after subscribing
4 participants