Title: Feature: Support `cause` property on errors · Issue #1401 · getsentry/sentry-javascript · GitHub
Open Graph Title: Feature: Support `cause` property on errors · Issue #1401 · getsentry/sentry-javascript
X Title: Feature: Support `cause` property on errors · Issue #1401 · getsentry/sentry-javascript
Description: Do you want to request a feature or report a bug? feature What is the current behavior? try { somethingThatThrows(); } catch (innerError) { let error = new Error('something failed!'); error.cause = innerError; throw error; } With the cur...
Open Graph Description: Do you want to request a feature or report a bug? feature What is the current behavior? try { somethingThatThrows(); } catch (innerError) { let error = new Error('something failed!'); error.cause =...
X Description: Do you want to request a feature or report a bug? feature What is the current behavior? try { somethingThatThrows(); } catch (innerError) { let error = new Error('something failed!'); error...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/1401
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature: Support `cause` property on errors","articleBody":"**Do you want to request a *feature* or report a *bug*?**\r\n\r\nfeature\r\n\r\n**What is the current behavior?**\r\n\r\n```js\r\ntry {\r\n somethingThatThrows();\r\n} catch (innerError) {\r\n let error = new Error('something failed!');\r\n error.cause = innerError;\r\n throw error;\r\n}\r\n```\r\n\r\nWith the current behavior only the outer/wrapping `Error` is shown in the stack trace.\r\n\r\n**What is the desired behavior?**\r\n\r\nIt would be great if the inner `Error` was also displayed in the stacktrace view, roughly similar to how it is done for Java and Python.\r\n\r\nI'm happy to help implement this with a bit of guidance :)\r\n\r\n- does the serverside need changes or does it already support this due to support in Java?\r\n- what changes to the submitted payload are necessary?","author":{"url":"https://github.com/Turbo87","@type":"Person","name":"Turbo87"},"datePublished":"2018-06-18T09:01:15Z","url":"https://github.com/getsentry/sentry-javascript/issues/1401"}
| 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:a9eb74fd-ec49-28d6-1033-8d10aa4ff3b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E764:2711F1:6A32B8:8F6FB0:6B04A3A8 |
| html-safe-nonce | 4d8320577f331ffeb409ee1aa8e68efe42ecbb250621280d6861426cba2876e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzY0OjI3MTFGMTo2QTMyQjg6OEY2RkIwOjZCMDRBM0E4IiwidmlzaXRvcl9pZCI6IjQxOTE2ODUwNzI0NzIyODYxMjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7d037554c4028828aee98c16350d190ab21bf46feb55dd7e582431b27a34d9b9 |
| hovercard-subject-tag | issue:333186069 |
| 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/1401/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1ea05240bb3e2086e8d3658f811fc2a54f6de94f7b1501e909876bcb6f6eeac8/getsentry/sentry-javascript/issues/1401 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ea05240bb3e2086e8d3658f811fc2a54f6de94f7b1501e909876bcb6f6eeac8/getsentry/sentry-javascript/issues/1401 |
| og:image:alt | Do you want to request a feature or report a bug? feature What is the current behavior? try { somethingThatThrows(); } catch (innerError) { let error = new Error('something failed!'); error.cause =... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Turbo87 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| 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 | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| 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