<How to get the response of another observable whe...
# stackoverflow
u
How to get the response of another observable when error occurs? I just want to ask if it is possible to get the response of another observable after encountering an error from the another observable? for example I am calling a two api Avatar and Attachment using a combineLatest. val avatar: Observable = api().getAvatar() val attachment: Observable = api().getAttachment() val obs = Observables.combineLatest(avatar, attachment) .map { it -> if (it.first is Exception) { Log.e(TAG, "getAvatar failed") } else...