Skip to content

Sentry normalizeDepth not working #5687

@calvintwr

Description

@calvintwr

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which package are you using?

@sentry/node

SDK Version

7.7.0 & 7.12.0

Framework Version

No response

Link to Sentry event

https://sentry.io/organizations/test-x5i/issues/3554317560/?project=6711662&query=is%3Aunresolved

Steps to Reproduce

  1. Set up Sentry with normalizeDepth property:
Sentry.init({
    environment: 'test',
    dsn: <My DSN...>,
    normalizeDepth: 10
})
  1. Use either Sentry.captureException(someObjectWithDeepKeys) or any custom Error that has deep keys.

Expected Result

Sentry should show 10 levels.

Actual Result

Only shows the default 3 levels:

Screenshot 2022-09-02 at 5 12 45 PM

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions