-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Closed as not planned
Copy link
Labels
Package: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDKStaleSync: Jiraapply to auto-create a Jira shadow ticketapply to auto-create a Jira shadow ticket
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
7.64.0 7.73.0
Framework Version
Node 18.15.0
Link to Sentry event
[private]
SDK Setup
import * as Sentry from '@sentry/node'
Sentry.init({
environment: ...,
dsn: ...,
tracesSampleRate: 1.0,
includeLocalVariables: true,
integrations: [
new Sentry.Integrations.LocalVariables({
captureAllExceptions: true,
}),
],
debug: true,
})
Steps to Reproduce
I'm trying to use @sentry/node
's new includeLocalVariables
(https://blog.sentry.io/local-variables-for-nodejs-in-sentry/).
I'm using Sentry SDK 7.73.0 with Node 18.15.0 (TypeScript, without ESM modules), which should work fine. But my caught errors do not show any local variables in the Sentry Dashboard.
Expected Result
Each caught error would the values of show local variables as such on the Sentry dashboard (picture from the blog post):
Actual Result
The errors show up fine as before, but no local variables can be seen anywhere from the dashboard:
┆Issue is synchronized with this Jira Improvement by Unito
ralbertazzi, kantuni, daxaxelrod, garrettg123 and amaurymercier
Metadata
Metadata
Assignees
Labels
Package: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDKStaleSync: Jiraapply to auto-create a Jira shadow ticketapply to auto-create a Jira shadow ticket
Projects
Status
No status
Status
No status
Status
Waiting for: Community