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

Add option to disable capturing the request body #20

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

janwytze
Copy link
Contributor

@janwytze janwytze commented Apr 17, 2024

Putting the full request body of a grpc message in the Sentry extras can cause the exception to be rejected by Sentry because the event size is too large. I've added the option WithCaptureRequestBody so it is possible to disable that the request body is registered. The default is set to true, so this PR is fully backward compatible.

@janwytze janwytze changed the title Add option to disalbe capturing the request body Add option to disable capturing the request body Apr 17, 2024
@johnbellone johnbellone merged commit c82c075 into johnbellone:master Apr 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants