Skip to content

ScheduledAction Swallows Errors #1682

Closed
@benjchristensen

Description

@benjchristensen

ScheduledAction (used by observeOn and other things doing scheduling) swallows errors because FutureTask.run() swallows errors inside a Future.

This means something like OnErrorNotImplemented on the Subscriber side of an observeOn will throw and be swallowed and everything will fail silently.

The following code fails silently:

Observable.error(new RuntimeException()).observeOn(Schedulers.computation()).subscribe();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions