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

[DOCS] Indicate a note about sendDefaultPII in the documentation

Open morohon opened this issue 1 year ago • 1 comments

Problem Statement

Hi all. While developing my own service in java (spring boot), I discovered that the request body was missing from the error information. After reviewing the documentation, I realized that I needed to set the max-request-body-size property for the application, which I did. But even after setting this property, the request body was still not sent. After studying the code и https://github.com/getsentry/sentry-java/pull/1595, I realized that it is not enough to simply set the max-request-body-size property - you also need to set the send-default-pii property for sending to work. Therefore, I decided to register a wish for the documentation so that this point would be noted in it. It would be nice if this was noted both in the javadoc and in the documentation on the site

Solution Brainstorm

No response

morohon avatar Apr 15 '24 14:04 morohon

Thanks for opening this issue @morohon, we'll improve docs.

adinauer avatar Apr 16 '24 06:04 adinauer