Add option for disabling source context
I am using Sentry for a closed source project and do not want to publish source code with Sentry events. I am currently filtering out the context from the before_send hook, but figured adding an option to not add it in the first place would be helpful.
This pull request has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Hey @vasyharan Thanks for your contribution! And sorry for not answering waay sooner. This PR looks really nice and well done!
I will try to review it thoroughly in the next week or so! Please have a little bit more patience!
I also need to think of where to document this, so the feature is not "lost" in code.
I also need to think of where to document this, so the feature is not "lost" in code.
i can take a pass at updating the docs in this repo. i’ll try to have something up by tomorrow.
Hi all, we ended up doing this slightly differently in this issue and the associated PRs: https://github.com/getsentry/sentry-python/issues/2017 I'll close this.