Skip to content

n.indexOf is not a function #2538

Closed
@apsavin

Description

@apsavin

Package + Version

  • @sentry/browser

Version:

5.15.4

Description

After update from raven-js to the latest @browser/sentry I see the following error:

TypeError

n.indexOf is not a function

It points to the following snippet:

{snip} type.toString.call(r)?t.test(n):"string"==typeof t&&-1!==n.indexOf(t);var r}function S(){return"[object process]"===Object.prototype.toStrin {snip}

Which is part of the @browser/sentry minified code.

Unfortunetly, the browser is unknown.

Please comment if you think I can give you some useful information.

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