Skip to content

@sentry/react normalizeDepth not working properly #3475

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

Closed
3 tasks
amdigbari opened this issue Apr 28, 2021 · 4 comments
Closed
3 tasks

@sentry/react normalizeDepth not working properly #3475

amdigbari opened this issue Apr 28, 2021 · 4 comments

Comments

@amdigbari
Copy link

amdigbari commented Apr 28, 2021

I'm trying to throw an error from axios catch but I have a problem with normalizing. I use normalizeDepth:10 but it's seems not working properly.

Here is sentry.init:
Screenshot from 2021-04-28 17-21-20

Sentry ErrorBoundary (wrap everything with it):
Screenshot from 2021-04-28 17-40-09

Axios catch method:
Screenshot from 2021-04-28 17-35-57

error from server:
Screenshot from 2021-04-28 17-22-41

sentry beforeSend event.extra:
processed

  • @sentry/react version: 5.24.2
  • @sentry/tracing version: 5.24.2
  • react version: 16.13.1
@rodolfoBee
Copy link
Member

Have you tried adding the Extra Error Data integration with depth = normalizeDepth-1
https://docs.sentry.io/platforms/javascript/configuration/integrations/plugin/#extraerrordata

@amdigbari
Copy link
Author

Have you tried adding the Extra Error Data integration with depth = normalizeDepth-1
https://docs.sentry.io/platforms/javascript/configuration/integrations/plugin/#extraerrordata

Yeah. I did try that without normalizeDepth and alongside with normalizeDepth with depth: 10 and neither of them working.

@kamilogorek
Copy link
Contributor

Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated.
Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it.
Cheers!

@lobsterkatie
Copy link
Member

Duplicate of #2539.

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

No branches or pull requests

4 participants