feat(unified-api): Define includeLocalVariables option#813
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
addLocalVariables optionincludeLocalVariables option
|
I like consistent naming, so I am in. As this is only for errors should |
|
let's keep the PII stuff separate, I'm working on a comprehensive proposal to solve this better. |
sl0thentr0py
left a comment
There was a problem hiding this comment.
fine with me, but for existing implementations, we'll have to alias to existing names, deprecate them and remove them later in a major.
This is a good suggestion, but since I think local variables are a stacktrace concept, it should be clear to users that this only applies to errors. |
|
Python issue for this: getsentry/sentry-python#1854 |
Currently the PHP, Python, Ruby and NodeJS SDKs support local variables, but they all use inconsistent names for the option that gates this functionality.
capture_exception_frame_localswith_locals_experiments.includeStackLocalsI propose we rename this to
includeLocalVariables/include_local_variables, unify these across the SDKs and add them when we get timeWe also should decide if
sendDefaultPiishould have an affect on this.cc @timfish