Skip to content

Overwriting of extra when capturing an exception #58

@zeorin

Description

@zeorin

I've implemented this library in my Redux middleware and it's generally working quite well.

However, I've also set up some React Error Boundaries that report to my Sentry.io instance, as per https://blog.sentry.io/2017/09/28/react-16-error-boundaries.

When I manually trigger Raven.captureException in my Error Boundary component as per the blog post, an exception is logged on Sentry, but without the componentStack part being in the extra part of the data that is being sent to Sentry. The state is there as expected.

If I inspect the network request that's being made to Sentry, it's the same. The state is there, but the property that was added to extra in the captureException call has been discarded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions