Title: `@sentry/node` with `includeLocalVariables` is not showing anything about local variables on any errors on the Sentry dashboard · Issue #8928 · getsentry/sentry-javascript · GitHub
Open Graph Title: `@sentry/node` with `includeLocalVariables` is not showing anything about local variables on any errors on the Sentry dashboard · Issue #8928 · getsentry/sentry-javascript
X Title: `@sentry/node` with `includeLocalVariables` is not showing anything about local variables on any errors on the Sentry dashboard · Issue #8928 · getsentry/sentry-javascript
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/...
Open Graph 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 th...
X 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 th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/8928
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`@sentry/node` with `includeLocalVariables` is not showing anything about local variables on any errors on the Sentry dashboard","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSentry Saas (sentry.io)\r\n\r\n### Which SDK are you using?\r\n\r\n@sentry/node\r\n\r\n### SDK Version\r\n\r\n~~7.64.0~~ 7.73.0\r\n\r\n### Framework Version\r\n\r\nNode 18.15.0\r\n\r\n### Link to Sentry event\r\n\r\n[private]\r\n\r\n### SDK Setup\r\n\r\n```typescript\r\nimport * as Sentry from '@sentry/node'\r\n\r\nSentry.init({\r\n environment: ...,\r\n dsn: ...,\r\n tracesSampleRate: 1.0,\r\n includeLocalVariables: true,\r\n integrations: [\r\n new Sentry.Integrations.LocalVariables({\r\n captureAllExceptions: true,\r\n }),\r\n ],\r\n debug: true,\r\n})\r\n```\r\n\r\n\r\n### Steps to Reproduce\r\n\r\nI'm trying to use `@sentry/node`'s new `includeLocalVariables` (https://blog.sentry.io/local-variables-for-nodejs-in-sentry/).\r\nI'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.\r\n\r\n### Expected Result\r\n\r\nEach caught error would the values of show local variables as such on the Sentry dashboard (picture from the blog post):\r\n\r\n\r\n\r\n\r\n\r\n### Actual Result\r\n\r\nThe errors show up fine as before, but no local variables can be seen anywhere from the dashboard:\r\n\r\n\r\n\r\n\r\n\r\n┆Issue is synchronized with this [Jira Improvement](https://getsentry.atlassian.net/browse/FEEDBACK-1925) by [Unito](https://www.unito.io)\r\n","author":{"url":"https://github.com/ruohola","@type":"Person","name":"ruohola"},"datePublished":"2023-09-01T07:20:44Z","url":"https://github.com/getsentry/sentry-javascript/issues/8928"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5d3135e6-7a0e-8c21-216b-6a77909fc7a8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5B6:3ED4D2:5838AD:768A35:6B049FCF |
| html-safe-nonce | 494973e26da1c66c9e95d39b79d4e45db5d8fc367450659cefba5249374c79d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUI2OjNFRDREMjo1ODM4QUQ6NzY4QTM1OjZCMDQ5RkNGIiwidmlzaXRvcl9pZCI6IjI1Nzc2MzYzNTgzNDA1MTc4MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bfaba07f039c820db86add8514687a0ca5146647d188b22bfab68ab75b225a0c |
| hovercard-subject-tag | issue:1876889607 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/8928/issue_layout |
| twitter:image | https://opengraph.githubassets.com/916087d5313fd0736a0106d052b312cdc0e550167b6148d2fc9bdc5d31228a30/getsentry/sentry-javascript/issues/8928 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/916087d5313fd0736a0106d052b312cdc0e550167b6148d2fc9bdc5d31228a30/getsentry/sentry-javascript/issues/8928 |
| og:image:alt | 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 th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ruohola |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width