Title: maxValueLength is not applied for linked errors · Issue #8580 · getsentry/sentry-javascript · GitHub
Open Graph Title: maxValueLength is not applied for linked errors · Issue #8580 · getsentry/sentry-javascript
X Title: maxValueLength is not applied for linked errors · Issue #8580 · 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/8580
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"maxValueLength is not applied for linked errors","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/browser\r\n\r\n### SDK Version\r\n\r\n7.59.2\r\n\r\n### Framework Version\r\n\r\n_No response_\r\n\r\n### Link to Sentry event\r\n\r\n_No response_\r\n\r\n### SDK Setup\r\n\r\n_No response_\r\n\r\n### Steps to Reproduce\r\n\r\n```js\r\nconst wat = new Error('this is very long message that should be truncated and will be, this is very long message that should be truncated and will be, this is very long message that should be truncated and will be, this is very long message that should be truncated and will be, this is very long message that should be truncated and will be');\r\n\r\nwat.cause = new Error('this is very long message that should be truncated but wont be, this is very long message that should be truncated but wont be, this is very long message that should be truncated but wont be, this is very long message that should be truncated but wont be, this is very long message that should be truncated but wont be');\r\n\r\nSentry.captureException(wat);\r\n```\r\n\r\nThis is usually apparent when using React with error boundaries, causing UI to look ugly.\r\n\r\n### Expected Result\r\n\r\nBoth exceptions should have their message truncated up to `maxValueLength` or default `250`.\r\n\r\n### Actual Result\r\n\r\nOnly the first exception is correctly transformed. ","author":{"url":"https://github.com/kamilogorek","@type":"Person","name":"kamilogorek"},"datePublished":"2023-07-18T12:18:14Z","url":"https://github.com/getsentry/sentry-javascript/issues/8580"}
| 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:61b3c005-8742-c37f-1518-2285b6b32e84 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F12:285B2D:4160D8D:578FB51:6B040AAC |
| html-safe-nonce | 84f57f3498d17758eedbba66925dfdd2d880640ebda9922ef4d3567fb4ca0ce6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjEyOjI4NUIyRDo0MTYwRDhEOjU3OEZCNTE6NkIwNDBBQUMiLCJ2aXNpdG9yX2lkIjoiNDkzMTY4MDU4MTkwNTMxMjQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 43eca1069323a344007108f54c07144a98c45a66931324dd497c0522455c2385 |
| hovercard-subject-tag | issue:1809811419 |
| 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/8580/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6aead7a1607ecd1a6e9ffc54972563552cda0a4f19ea6991203cb779f05b3e57/getsentry/sentry-javascript/issues/8580 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6aead7a1607ecd1a6e9ffc54972563552cda0a4f19ea6991203cb779f05b3e57/getsentry/sentry-javascript/issues/8580 |
| 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 | kamilogorek |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| 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