Skip to content
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

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

Closed
3 tasks done
Talb2005 opened this issue Mar 27, 2024 · 3 comments
Labels
Package: angular Issues related to the Sentry Angular SDK Type: Bug

Comments

@Talb2005
Copy link

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.

@lforst
Copy link
Member

lforst commented Mar 28, 2024

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.

@AbhiPrasad
Copy link
Member

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

@AbhiPrasad
Copy link
Member

Fix released with https://github.com/getsentry/sentry-javascript/releases/tag/7.109.0, thanks for your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: angular Issues related to the Sentry Angular SDK Type: Bug
Projects
Archived in project
Development

No branches or pull requests

3 participants