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

RedirectSingle: avoid extra operator for exception handling path #3114

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

idelpivnitskiy
Copy link
Member

Use new Single.subscribe(...) overload introduced in #3112 that takes errorConsumer to avoid using extra operator whenOnError. It will also help to avoid logging those exceptions by SimpleSingleSubscriber (hard to relate to a real request) and instead they will only bubble up on the caller path.

Use new `Single.subscribe(...)` overload introduced in
[apple#3112](apple#3112) that takes
`errorConsumer` to avoid using extra operator `whenOnError`. It will
also help to avoid logging those exceptions by `SimpleSingleSubscriber`
(hard to relate to a real request) and instead they will only bubble up
on the caller path.
@idelpivnitskiy idelpivnitskiy merged commit 38cc84b into apple:main Nov 18, 2024
11 checks passed
@idelpivnitskiy idelpivnitskiy deleted the redirect-subscribe branch November 18, 2024 21:43
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