Skip to content

RxJavaHooks.enableAssemblyTracking() breaks error handling #4212

Closed
@artem-zinnatullin

Description

@artem-zinnatullin

Problem:

If user enables assembly tracking then ALL exceptions get wrapped into AssemblyStackTraceException which breaks all error handling code that expects particular exceptions.

Solution:

Do not change type of original exception and modify its stacktrace directly. I'll work on that soon, both for 1.x and 2.x.

// Spent an hour today trying to figure out what was causing app misbehave, glad we have git bisect, was very surprised to see commit where I enabled assembly tracking…

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions