Skip to content

Give Fetch/XHR breadcrumbs a log level based on status code #13359

@lforst

Description

@lforst

Higher order tracking issue: getsentry/team-sdks#100

Description

It came up that the breadcrumbs we create for 4xx and 5xx fetch requests are pretty tame and don't stick out. We can sorta fix this by changing the log level of the breadcrumbs based on the response status code:

  • 5xx should probably be error
  • 4xx should probably be warning/error

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions