Skip to content

Cannot read property '__sentry_instrumentation_handlers__' of undefined #3221

Closed
@dyatko

Description

@dyatko

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other:

Version:

6.0.3

Description

@sentry/browser 6.0.3 does not work with web-vitals

It breaks here:

const handlers = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {});

Due to:

https://github.com/GoogleChrome/web-vitals/blob/43ce5464e3068c796830c5e98950fd94e480f4dd/src/getLCP.ts#L64

Metadata

Metadata

Assignees

No one assigned

    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