Skip to content

Instrumenting EventTarget.prototype.addEventListener leads to problems in Chrome #2074

Closed
@ffxsam

Description

@ffxsam

Package + Version

  • @sentry/browser 5.2.0

Description

We're getting this error:

Cannot convert undefined or null to object

It seems to be happening here, according to Chrome:

https://github.com/getsentry/sentry-javascript/blob/master/packages/browser/src/integrations/trycatch.ts#L88

Here's the stack trace:

Screen Shot 2019-05-14 at 10 54 20 AM

Here's a snapshot of the error in Chrome DevTools:

Screen Shot 2019-05-14 at 10 56 18 AM

Seems like OpenLayers is throwing an error, but Sentry is not handling it properly and throwing an error itself.

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