Title: Handle AggregateErrors · Issue #5469 · getsentry/sentry-javascript · GitHub
Open Graph Title: Handle AggregateErrors · Issue #5469 · getsentry/sentry-javascript
X Title: Handle AggregateErrors · Issue #5469 · getsentry/sentry-javascript
Description: Problem Statement Hi, I think both on the JS SDK side and Sentry side things like AggregateError needs to be handled a bit more specifically in a built-in way. Basically AggregateError is a type of error that groups other kinds of errors...
Open Graph Description: Problem Statement Hi, I think both on the JS SDK side and Sentry side things like AggregateError needs to be handled a bit more specifically in a built-in way. Basically AggregateError is a type of...
X Description: Problem Statement Hi, I think both on the JS SDK side and Sentry side things like AggregateError needs to be handled a bit more specifically in a built-in way. Basically AggregateError is a type of...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5469
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Handle AggregateErrors","articleBody":"### Problem Statement\r\n\r\nHi,\r\n\r\nI think both on the JS SDK side and Sentry side things like [AggregateError](https://deliveryhero.slack.com/archives/C03BR5NRT0R/p1658838016525499) needs to be handled a bit more specifically in a built-in way. Basically AggregateError is a type of error that groups other kinds of errors together and can have an `errors` property on it, which itself is an array of errors. \r\n\r\nOn the SDK side: they should be sent in the report request and in the Sentry UI they should be shown in a given error detail page. I think these can be handled in the same or similar way to linked errors. \r\n\r\nAlso in Python we have ExceptionGroup, in .NET we have AggregateException, and for the languages that does not have this kind of thing directly; something [similar can be implemented in the user-land](https://stackoverflow.com/questions/3374966/what-is-the-java-equivalent-of-aggregateexception-from-net). \r\n\r\n\r\n### Solution Brainstorm\r\n\r\nMost probably a new integration like `AggregateErrors` would do the job on the SDKs sides via both handling the language specific built-in ones and/or allowing custom implementations (so people that dont care about them dont need to enable/add it to their SDK instance). ","author":{"url":"https://github.com/mortargrind","@type":"Person","name":"mortargrind"},"datePublished":"2022-07-26T15:17:49Z","url":"https://github.com/getsentry/sentry-javascript/issues/5469"}
| 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:5e990791-e368-dbe1-94f1-86f208f1c67d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0BA:D405E:313ACC0:402CDE8:6B042717 |
| html-safe-nonce | 060c28cbb9e3c0439e80ed661035d0c91c39eaf1126794692ca81cd63f2559c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEJBOkQ0MDVFOjMxM0FDQzA6NDAyQ0RFODo2QjA0MjcxNyIsInZpc2l0b3JfaWQiOiI2MDk4MDQ5OTAzOTkzOTE1MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 90eadef43723d06d3854b412c457e567f458d90bce55999efe166fb59e7318d4 |
| hovercard-subject-tag | issue:1318394413 |
| 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/5469/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e36252c1a47419d79e959f4bd720c12f7ca7085838fbdc6871e81c4bc9462f39/getsentry/sentry-javascript/issues/5469 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e36252c1a47419d79e959f4bd720c12f7ca7085838fbdc6871e81c4bc9462f39/getsentry/sentry-javascript/issues/5469 |
| og:image:alt | Problem Statement Hi, I think both on the JS SDK side and Sentry side things like AggregateError needs to be handled a bit more specifically in a built-in way. Basically AggregateError is a type of... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mortargrind |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| 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