Skip to content

Capturing Redux State #113

@jarredwitt

Description

@jarredwitt

I've been trying to figure out a way to capture my redux state along with the last two actions to send along with Sentry exceptions, but I'm not having much luck. I've been thinking that a middleware would be the best approach and I've tried using setExtraContext to record the actions, but can't seem to get that too work. Is setExtraContext the best approach for this? I saw that there is an internal addExtraContext that accepts a key/value but haven't tried that yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions