Skip to content

Instantly share code, notes, and snippets.

@feresr
Created January 30, 2017 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feresr/9a93c0c116703b3371280ab4befb50c7 to your computer and use it in GitHub Desktop.
Save feresr/9a93c0c116703b3371280ab4befb50c7 to your computer and use it in GitHub Desktop.
swallError
observableThatShouldNotCompleteOnError
.flatMap(e -> obsrevableThatMayThrow(e)
.onErrorResumeNext(Observable.empty())
).subscribe()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment