Skip to content

normalizeDepth doesn't have any effect #697

Description

@simon-ccoms

Version

@nuxtjs/sentry: 8.7.0
nuxt: 2.17.0

Sentry configuration

sentry: {
    dsn: process.env.SENTRY_DSN,
    clientIntegrations: {
      ExtraErrorData: {},
      ReportingObserver: { types: ['crash'] },
      HttpClient: true
    },
    config: {
      // Capture headers and cookies
      sendDefaultPii: true,

      normalizeDepth: 5,
    },
  },

Steps to reproduce

Use the above config on a route which returns a response with more than 3 levels of data in it.

What is Expected?

At least 5 levels of the data should appear on the Sentry issue.

What is actually happening?

The default value of 3 is always used, no matter what value is put into the sentry config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions