Skip to content

TypeError Right side of assignment cannot be destructured occurs in _addTtfbRequestTimeToMeasurements(@sentry-internal/src/browser/metrics/index) #11326

@Talb2005

Description

@Talb2005

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/angular

SDK Version

7.108.0

Framework Version

@sentry/angular-ivy: 7.108.0

Link to Sentry event

https://remotemdr-9a8bcf225.sentry.io/issues/5105857962/events/277fd6e7b88a452f835c224bc0f62158/

SDK Setup

const options: BrowserOptions = {
    dsn: '__MY_DSN__',
    integrations: [browserTracingIntegration(), replayIntegration(replayConfiguration)],
    tracesSampleRate: 0.1,
    replaysSessionSampleRate: 0,
    replaysOnErrorSampleRate: 1.0,
    ignoreErrors,
    tracePropagationTargets: [__MY_TARGETS__],
    normalizeDepth: 5,
    release: environment.appVersion,
};

Steps to Reproduce

After updating @sentry/angular-ivy from 7.107.0 to 7.108.0 I've started seeing the error:
TypeError Right side of assignment cannot be destructured occurs in _addTtfbRequestTimeToMeasurements(@sentry-internal/src/browser/metrics/index)
For now, it seems that this error only occurs on Mac Safari versions 14.1.2 and 14.0.3.
Looks like this error is related to this recent commit:

Expected Result

This error shouldn't occur.

Actual Result

This error occurs with multiple users, who use use Mac Safari versions 14.1.2 and 14.0.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: angularIssues related to the Sentry Angular SDK

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions