Skip to content

Breadcrumb : Sentry events create breadcrumb with parameter sentry = false #2357

Description

@dorianrod
  • [ x] @sentry/browser

Description

Sentry creates a breadcrumb when fetching the sentry.io server

My config uses parameter sentry: false.:
integrations: [
new Integrations.Breadcrumbs({
console: false,
dom: true,
fetch: true,
history: true,
sentry: false,
xhr: true
}),

From my understanding, it should not create this event with this parameter. In fact we dont need to know that sentry send an event to sentry as if we see it in Sentry that means we received it...

Reproduce code

Just do a captureException("test");

Then a breadcrumbs is created:
{
timestamp: 1576236352.789
category: "sentry"
event_id: "35d9016e9b4c43db9511a75bef9124eb"
level: "error"
message: "test: -s-"
}

Workaround

We can filter it with beforeBreadcrumb

Have a nice day,
DR

Activity

  1. rhcarvalho commented on Mar 13, 2020

    @rhcarvalho
    Contributor

    @kamilogorek could you please have a look? Is this a bug?

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