-
Notifications
You must be signed in to change notification settings - Fork 26
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 local variables to notifications #123
Add local variables to notifications #123
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is interesting—I didn't know this was possible in Python! Are there any performance implications or anything like that? There are in Ruby, which is one reason why we disable it by default. The other reason is security—the values could be sensitive, and I think reporting local variables is so advanced that it might surprise some people. For that reason I'd suggest we add a new config option similar to the Ruby one, and turn it off by default.
My other suggestion is that we apply the params_filters
config option to the local_variables
object so that any sensitive keys are filtered out.
@Kelvin4664 @subzero10 can you review when you get a sec?
@joshuap yup it has it in the Makes sense about the sensitive keys and good call out here, will utilize param filters for that and then will also make it a configurable option 👍 thanks for the feedback! |
LGTM. Thank you @remstone7! |
Looking good here, well let @subzero10 review. Since it's possible to get local variables for every frame of the stack trace, should we plan to modify our notice schema to add a |
This would be 🎉
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! I left a comment but it's not breaking, just a suggestion.
Can we do one last thing? Let's add this new configuration option to the README.md page.
#122
Adds local_variables to request