Skip to content

When normalizeDepth is not provided, Redux store is just [object] #7376

@grabbou

Description

@grabbou

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g. bundle.tracing.min.js) in your SDK setup.

@sentry/react

SDK Version

^7.29.0

Framework Version

No response

Link to Sentry event

No response

SDK Setup

 Sentry.init({
    dsn: process.env.REACT_APP_SENTRY_DSN,
    release: process.env.REACT_APP_GIT_COMMIT_HASH,
})

Steps to Reproduce

  1. Use Sentry.createReduxEnhancer
  2. Throw an error
  3. The Redux state will be [Object]

Expected Result

Normalize depth is supposed to be 3 by default, so it should display the state properly, at least to 3rd level.

Actual Result

Screenshot 2023-03-08 at 01 09 55

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: reactIssues related to the Sentry React SDK

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions