sentry-docs icon indicating copy to clipboard operation
sentry-docs copied to clipboard

Specify data collected in HTTP client errors

Open rodolfoBee opened this issue 2 years ago • 2 comments

Core or SDK?

Core Sentry product

Which part? Which one?

https://docs.sentry.io/platforms/apple/configuration/http-client-errors/

Description

It states:

The error event will contain the request and response data, such as url, status_code, and so on.

This is a vague description of what is expected from the SDK and leads to bad UX. For example, one might assume that "and so on" includes HTTP response body data, which it does not.

Suggested Solution

Explicitly list the data the SDK is expected to collect from the application and attach to such events.

  • [ ] https://github.com/getsentry/sentry-docs/issues/6974
  • [ ] Android
  • [x] https://github.com/getsentry/sentry-dart/issues/2130
  • [ ] .NET
  • [ ] React-Native

rodolfoBee avatar Apr 25 '23 06:04 rodolfoBee

Assigning to @getsentry/support for routing, due by (sfo). ⏲️

getsantry[bot] avatar Apr 25 '23 06:04 getsantry[bot]

Routing to @getsentry/team-mobile for triage, due by (sfo). ⏲️

getsantry[bot] avatar Apr 25 '23 08:04 getsantry[bot]