Skip to content

capture console not IE11 compatible #4768

Closed
@collinprice

Description

@collinprice

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/browser

SDK Version

6.19.1

Framework Version

No response

Link to Sentry event

No response

Steps to Reproduce

  1. Include CDN scripts.
<script src="https://browser.sentry-cdn.com/6.19.1/bundle.tracing.min.js"
        integrity="sha384-hthbsqa5mLHmR+ZUw29J9qGt8SdDRD7AVpG02i/NAsu5cv9G9I9D9IhEtSVyoPv2"
        crossorigin="anonymous"></script>

<script src="https://browser.sentry-cdn.com/6.19.1/captureconsole.min.js"
        integrity="sha384-GLNSK4rZR+fv4mVjEEcOI7HiLO96Dd7Nynmu3vKRjW3JmXQvCgted9bbJNM/1l4d"
        crossorigin="anonymous"></script>
  1. Run website in IE11
  2. Look in console for error
SCRIPT1002: Syntax error
captureconsole.min.js (2,963)

Expected Result

I could not find any documentation saying capture console is not support in IE11 so I assumed it would work since bundle.tracing supports IE11.

Actual Result

captureconsole does not work in IE11.

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