-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Multiple errors in zip'ed observables with flatMap #6487
Comments
In the second case, you crash synchronously when |
@akarnokd thank you for quick response! Can you explain, please, why in the second case crash happens synchronously and in the first not? |
Correction. In both cases, you shouldn't see any undeliverable exceptions. What happens is that |
The |
@arkanokd So, you saying that the correct one is not return an error right? |
In this synchronous case, the process should stop after the first error and the second subscription should not happen. |
@akarnokd thanks for explanations! i am currently using |
While reading Error handling on wiki I realized that in a zip operator with a multiple network calls, it's possible to receive a crash with an UndeliverableException. I tried to reproduce this behavior:
RxJava version: 2.2.0
Reproduce code:
The output as expected:
And the second test:
And I expected an UndeliverableException too, but the output is:
Is this behavior correct? Why there is no UndeliverableException in the second test?
Thanks!
The text was updated successfully, but these errors were encountered: