Title: Internal exception when a breadcrumb has data with `url: null` · Issue #1128 · getsentry/sentry-javascript · GitHub
Open Graph Title: Internal exception when a breadcrumb has data with `url: null` · Issue #1128 · getsentry/sentry-javascript
X Title: Internal exception when a breadcrumb has data with `url: null` · Issue #1128 · getsentry/sentry-javascript
Description: Do you want to request a feature or report a bug? bug What is the current behavior? If you have a null data property called 'url', the library has internal errors. Just try this: Raven.captureMessage('Installation referral url received.'...
Open Graph Description: Do you want to request a feature or report a bug? bug What is the current behavior? If you have a null data property called 'url', the library has internal errors. Just try this: Raven.captureMessa...
X Description: Do you want to request a feature or report a bug? bug What is the current behavior? If you have a null data property called 'url', the library has internal errors. Just try this: Raven.capt...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/1128
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Internal exception when a breadcrumb has data with `url: null`","articleBody":"**Do you want to request a *feature* or report a *bug*?**\r\nbug\r\n\r\n**What is the current behavior?**\r\nIf you have a null data property called 'url', the library has internal errors. \r\n\r\nJust try this:\r\n```js\r\nRaven.captureMessage('Installation referral url received.', {\r\n level: 'info',\r\n tags: { installationReferralUrl: true },\r\n extra: { url: null },\r\n})\r\n```\r\n\r\nThe exception comes from:\r\nhttps://github.com/getsentry/raven-js/blob/master/src/raven.js#L1609\r\n\r\nJust put a check for a null value or modify `truncate` to return empty string for null values\r\n\r\n**What is the expected behavior?**\r\nIt will not have said error.\r\n\r\nReact Native, raven-js v3.13.1\r\n","author":{"url":"https://github.com/StevePotter","@type":"Person","name":"StevePotter"},"datePublished":"2017-11-13T17:06:53Z","url":"https://github.com/getsentry/sentry-javascript/issues/1128"}
| 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:5253b61c-a898-fd6e-cb65-37ddbaaf3de7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD76:2D1760:188EFD:20D2CF:6B048217 |
| html-safe-nonce | d54d4cc3f2baae3b491629695df4d0f825cbe2036ab66c6a527d9854a2f59f28 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDc2OjJEMTc2MDoxODhFRkQ6MjBEMkNGOjZCMDQ4MjE3IiwidmlzaXRvcl9pZCI6IjI5ODU3NTA0NzE5Nzc1Mzg3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 75826d983c4e23cdd74bb89cf5415e38bcd21ae80abdfded6ab417130b5d8727 |
| hovercard-subject-tag | issue:273506042 |
| 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/1128/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a177a8ef3ec96637128ee30add3c42a64552179f66ee3f8f0753ba1c1cdeebc/getsentry/sentry-javascript/issues/1128 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a177a8ef3ec96637128ee30add3c42a64552179f66ee3f8f0753ba1c1cdeebc/getsentry/sentry-javascript/issues/1128 |
| og:image:alt | Do you want to request a feature or report a bug? bug What is the current behavior? If you have a null data property called 'url', the library has internal errors. Just try this: Raven.captureMessa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StevePotter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511 |
| 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 | ed3f2e01f6b7672780c586c8af0e72726374d7b6 |
| 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