Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify data collected in HTTP client errors #11055

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/platforms/dart/integrations/http-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,26 @@ var uriResponse = await client.post('https://example.com/whatsit/create',
}
```

When an error occurs, the following information is captured and sent to Sentry:

The marked elements (\*) are affected by the default enabled [server-side data scrubbing](https://docs.sentry.io/security-legal-pii/scrubbing/server-side-scrubbing/).
To implement client side data scrubbing, go to [client-side data scrubbing in Flutter](https://docs.sentry.io/platforms/flutter/data-management/sensitive-data/).

Request details:

- Method
- URL \*
- Headers \*
- Body \*
- Content length
- Duration

Response details:

- Headers \*
- Content length
- Status code

This is an opt-out feature. The following example shows how to disable it:

<SignInNote />
Expand Down
Loading