Title: Replay: Error when capturing keyboard event without `key` · Issue #8237 · getsentry/sentry-javascript · GitHub
Open Graph Title: Replay: Error when capturing keyboard event without `key` · Issue #8237 · getsentry/sentry-javascript
X Title: Replay: Error when capturing keyboard event without `key` · Issue #8237 · 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/8237
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replay: Error when capturing keyboard event without `key`","articleBody":"### Is there an existing issue for this?\n\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [X] I have reviewed the documentation https://docs.sentry.io/\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/angular\n\n### SDK Version\n\n7.52.1\n\n### Framework Version\n\n7.52.1\n\n### Link to Sentry event\n\nhttps://wink-travel.sentry.io/issues/4212802473/?alert_rule_id=652630&alert_timestamp=1685286765620&alert_type=email&environment=prod&project=1406670&referrer=alert_email\n\n### SDK Setup\n\n```\r\nSentry.init({\r\n release: `${VERSION.version}`,\r\n environment: environment.environment,\r\n ignoreErrors: ['ResizeObserver loop limit exceeded'],\r\n dsn: 'https://f99a2fe8adbe4fb9bc216d46c66b4b85@o237992.ingest.sentry.io/1406670',\r\n // beforeSend(event, hint) {\r\n // const eventConditional = event?.exception?.values != null && event?.exception?.values[0]?.value?.startsWith('Non-Error exception captured');\r\n // let messageConditional = false;\r\n\r\n // if (hint?.originalException != null && hint?.originalException instanceof Error) {\r\n // const originalExceptionError: Error = hint.originalException;\r\n // messageConditional = originalExceptionError.message.startsWith('Non-Error exception captured');\r\n // }\r\n // /* eslint-disable */\r\n // const isNonErrorException = eventConditional || messageConditional;\r\n // /* eslint-enable */\r\n\r\n // if (isNonErrorException) {\r\n // // We want to ignore those kind of errors\r\n // console.warn('Received a non-standard error', event);\r\n // return null;\r\n // }\r\n // return event;\r\n // },\r\n// This sets the sample rate to be 10%. You may want this to be 100% while\r\n // in development and sample at a lower rate in production\r\n replaysSessionSampleRate: 0.1,\r\n // If the entire session is not sampled, use the below sample rate to sample\r\n // sessions when an error occurs.\r\n replaysOnErrorSampleRate: 1.0,\r\n integrations: [\r\n new Sentry.Replay({\r\n networkDetailAllowUrls: environment.sentry.networkDetailAllowUrls,\r\n networkRequestHeaders: environment.sentry.networkRequestHeaders,\r\n networkResponseHeaders: environment.sentry.networkResponseHeaders,\r\n }),\r\n new BrowserTracing({\r\n tracingOrigins: environment.sentry.tracingOrigins,\r\n routingInstrumentation: Sentry.routingInstrumentation,\r\n }),\r\n ],\r\n tracesSampleRate: 0.2,\r\n});\r\n```\n\n### Steps to Reproduce\n\nThis error was created by a customer. There should be enough information in the Sentry event URL\n\n### Expected Result\n\nShould not see any errors\n\n### Actual Result\n\nSentry error occurring","author":{"url":"https://github.com/bjornharvold","@type":"Person","name":"bjornharvold"},"datePublished":"2023-05-29T05:59:29Z","url":"https://github.com/getsentry/sentry-javascript/issues/8237"}
| 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:bf77255e-e4d9-9af2-bf11-cc7c5ff9c9af |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC1E:AEAB2:900B7E:CB1134:6B0453BC |
| html-safe-nonce | a5fcf897d50beb039a6fe3f4e6d41d2810ff50e383738416e570b8cfb87e4e1e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzFFOkFFQUIyOjkwMEI3RTpDQjExMzQ6NkIwNDUzQkMiLCJ2aXNpdG9yX2lkIjoiNDk1NDg4NzU0OTY1MjA2MzE2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 69d5145160d4c8f2528c4441f82a1ba0b0babdbd3e0a7f68790acf37379285c2 |
| hovercard-subject-tag | issue:1730124490 |
| 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/8237/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ad47cda66c40fed466b1cc131c8dcf9a919d025ea013d296b8dbf16e1332d625/getsentry/sentry-javascript/issues/8237 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ad47cda66c40fed466b1cc131c8dcf9a919d025ea013d296b8dbf16e1332d625/getsentry/sentry-javascript/issues/8237 |
| 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 | bjornharvold |
| 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 | canary-1 |
| 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