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

Add option for disabling source context

Open vasyharan opened this issue 5 years ago • 4 comments

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.

vasyharan avatar Dec 17 '20 21:12 vasyharan

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 🥀

github-actions[bot] avatar Dec 23 '21 15:12 github-actions[bot]

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!

antonpirker avatar Mar 30 '22 10:03 antonpirker

I also need to think of where to document this, so the feature is not "lost" in code.

antonpirker avatar Mar 30 '22 10:03 antonpirker

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.

vasyharan avatar Mar 31 '22 13:03 vasyharan

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.

sentrivana avatar May 12 '23 10:05 sentrivana