Title: Cannot create property 'sdk' on boolean 'false' · Issue #3518 · getsentry/sentry-javascript · GitHub
Open Graph Title: Cannot create property 'sdk' on boolean 'false' · Issue #3518 · getsentry/sentry-javascript
X Title: Cannot create property 'sdk' on boolean 'false' · Issue #3518 · getsentry/sentry-javascript
Description: Package + Version @sentry/browser 6.2.5 @sentry/node 6.2.5 @nuxtjs/sentry: 5.0.3 (This is not quite the latest version of the Sentry modules, but I think it's the latest nuxt wrapping of them.) Description I see many errors like this: Ca...
Open Graph Description: Package + Version @sentry/browser 6.2.5 @sentry/node 6.2.5 @nuxtjs/sentry: 5.0.3 (This is not quite the latest version of the Sentry modules, but I think it's the latest nuxt wrapping of them.) Des...
X Description: Package + Version @sentry/browser 6.2.5 @sentry/node 6.2.5 @nuxtjs/sentry: 5.0.3 (This is not quite the latest version of the Sentry modules, but I think it's the latest nuxt wrapping of them.)...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/3518
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot create property 'sdk' on boolean 'false'","articleBody":"## Package + Version\r\n\r\n- [ ] `@sentry/browser` 6.2.5\r\n- [ ] `@sentry/node` 6.2.5\r\n- [ ] @nuxtjs/sentry: 5.0.3 \r\n\r\n(This is not quite the latest version of the Sentry modules, but I think it's the latest nuxt wrapping of them.)\r\n\r\n## Description\r\n\r\nI see many errors like this:\r\n\r\n`Cannot create property 'sdk' on boolean 'false'`\r\n\r\nThe error is in the sentry code, here:\r\n\r\n```\r\nfunction enhanceEventWithSdkInfo(event, sdkInfo) {\r\n if (!sdkInfo) {\r\n return event;\r\n }\r\n event.sdk = event.sdk || {\r\n name: sdkInfo.name,\r\n version: sdkInfo.version,\r\n };\r\n```\r\nI don't know why event should be false, but it doesn't look robust against that possibility. If it was, then I might find out more about the underlying error.\r\n\r\nAn example: https://sentry.io/organizations/freegle/issues/2379888684/\r\n\r\nI don't have a standalone repro for this, but I see it about ten times a day on a live system, so I can test things fairly easily.","author":{"url":"https://github.com/edwh","@type":"Person","name":"edwh"},"datePublished":"2021-05-09T16:40:00Z","url":"https://github.com/getsentry/sentry-javascript/issues/3518"}
| 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:b4d84ab6-8728-ee04-d119-db1233b0add5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E856:F6D2B:1FFD33:2C1A00:6B0451DB |
| html-safe-nonce | d752e291b965e2130f7bab4a70ece116d4cdadd4b8b45156614ea3b428ca0381 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODU2OkY2RDJCOjFGRkQzMzoyQzFBMDA6NkIwNDUxREIiLCJ2aXNpdG9yX2lkIjoiNzIwMzUzODY5Mjc0Nzg0MjAxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9170b606bd5ed88f86b0c7e28ef161085269951d8788ab6897e61e59031a6c9c |
| hovercard-subject-tag | issue:882525401 |
| 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/3518/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e0f544d9beab54cb271e09b3711974997dcc0650b8d3c23535f00da3fe95de66/getsentry/sentry-javascript/issues/3518 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e0f544d9beab54cb271e09b3711974997dcc0650b8d3c23535f00da3fe95de66/getsentry/sentry-javascript/issues/3518 |
| og:image:alt | Package + Version @sentry/browser 6.2.5 @sentry/node 6.2.5 @nuxtjs/sentry: 5.0.3 (This is not quite the latest version of the Sentry modules, but I think it's the latest nuxt wrapping of them.) Des... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | edwh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0 |
| 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 | e086f9b7e88322eb2b41885a6ad425b215737fa5 |
| 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