Skip to content

Create tests so internal console warnings do not make it to Sentry and count towards users error quota #9640

Description

@stephanie-anderson

When you call startTransaction() without addTracingExtensions() being called, the SDK gives you a console warning that you need to call it for startTransaction() to properly work (this is so you can tree shake performance). We call startTransaction() in various integrations internally. If users do not call Sentry.init we will emit this warning because of auto instrumentation.

But if users have the CaptureConsole integration enabled, it would create events for this warning. Normally we sandbox (escape) these console messages but apparently this has slipped at some time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions