Skip to content

Conversation

@KPAHAPK
Copy link

@KPAHAPK KPAHAPK commented Jun 4, 2024

No description provided.

Copy link
Contributor

@antonkazakov antonkazakov left a comment

Choose a reason for hiding this comment

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

Привет. Один комментарий добавил

.observeOn(AndroidSchedulers.mainThread())
.onErrorResumeNext(localCatFactsGenerator.generateCatFact().toObservable())
}
.subscribe { result ->
Copy link
Contributor

Choose a reason for hiding this comment

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

Я бы все равно добавил обработчик ошибок. Ведь они теоретически и в localCatFactsGenerator.generateCatFact().toObservable() может выпасть

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