Skip to content

Function.prototype.toString: 'this' is not a Function object #1132

@ghost

Description

Having an issue configuring raven.js since updating to 3.20.0 with IE11.

It's an Angular (5.0.1) CLI (1.5.0) app with a typical setup in app.module:

Raven
  .config('https://...@sentry.io/...', {
    environment: environment,
    release: version
  })
  .install();

Running the app causes an error in IE11 Function.prototype.toString: 'this' is not a Function object. Chrome and Firefox are ok.

Reverting to 3.19.1 resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions