-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
@sentry/node 7.102.1
Framework Version
No response
Link to Sentry event
https://malachi-test-org.sentry.io/issues/5014108873/events/0d17eeb428a84cd18ce6f7d153c17898/
SDK Setup
No response
Steps to Reproduce
- Setup node app with Sentry and
includeLocalVariables: true
- Add local variables and capture exception
Expected Result
I should see all my local variables regardless of value.
Actual Result
Only variables with truthy values are shown (in event JSON and UI):
Might be due to the code here?
sentry-javascript/packages/node/src/integrations/local-variables/local-variables-sync.ts
Line 132 in d570594
} else if (prop?.value?.value || prop?.value?.description) { |