Skip to content

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

Closed
@dorianrod

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

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