Open InterstellarStella opened 5 days ago
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-docs for triage ⏲️
We can do dynamic code snippets as we have it for https://docs.sentry.io/platforms/javascript/guides/react/#install
Source context could be an extra option disabled per default.
SDK
Apple SDK
Description
Looking at this page, the "include sources" option is added in the code snippets. There is a description for what this option does on the text above, but a customer believes it does not sufficiently describe its effects, namely, that it will show readable source code in the stack traces.
The accidental inclusion of this option can lead to legal issues on the customer's side.
Suggested Solution
Describe more clearly, with a warning, that this this option will show readable source code in the event's stack traces. Additionally, include a comment that indicates this in the code snippets so people are aware when copying the code snippets without reading the text around them.
Alternatively, make the "include sources" option opt-in instead of opt-out.