Exceptions thrown in CreateFromTask(...).Subscribe behave differently than those thrown in CreateFromObservable(...).Subscribe #3294
philipkaare
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have two unit tests below, only difference is in how the observable is created. In CreateFromTask the observable is not created using the scheduler, whereas when I do myself the exception bubbles up.
I am not sure if this is intended or not -> in general I find the behavior of exceptions in the different command types to be confusing. Is there some guiding principle I should be following when it comes to exceptions?
Thanks!
Code:
Beta Was this translation helpful? Give feedback.
All reactions