Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
grabbou opened this issue Mar 7, 2023 · 2 comments · Fixed by #7379
Closed
3 tasks done

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

grabbou opened this issue Mar 7, 2023 · 2 comments · Fixed by #7379

Comments

@grabbou
Copy link

grabbou commented Mar 7, 2023

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

@grabbou
Copy link
Author

grabbou commented Mar 7, 2023

Also, potentially related, when setting normalizeDepth to 3, the keys at level 3 are actually not expanded. We set it to 10 for time being, but would love the underlying issue to be resolved.

Screenshot 2023-03-08 at 01 03 56

@lforst
Copy link
Member

lforst commented Mar 8, 2023

Hi, we'll take a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants