Skip to content

3.x: Revise AtomicThrowable.addThrowable usage #6611

Closed
@akarnokd

Description

@akarnokd

Currently, many (if not all?) usage of addThrowable is as follows:

if (errors.addThrowable(ex)) {
   // do something with the error case
} else {
    RxJavaPlugins.onError(ex);
}

The plugin error call could be inlined into the method call and renamed to tryAddThrowable to ensure all usage places are updated correctly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions