Skip to content

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

Closed

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.

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀 2on Mar 27, 2024
  2. lforst commented on Mar 28, 2024

    @lforst
    Contributor

    Thanks for writing in! I think we have identified the bug and we'll soon release a fix. This was indeed introduced in 7.108.0.

  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 2on Mar 28, 2024
  4. AbhiPrasad commented on Mar 28, 2024

    @AbhiPrasad
    Contributor

    dupe of #11310 - cutting a release to fix it, tracking release with #11247

  5. AbhiPrasad commented on Mar 28, 2024

    @AbhiPrasad
    Contributor
  6. ghost added on Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions