Title: Allow user to choose if an error has been handled by an ErrorBoundary · Issue #14554 · getsentry/sentry-javascript · GitHub
Open Graph Title: Allow user to choose if an error has been handled by an ErrorBoundary · Issue #14554 · getsentry/sentry-javascript
X Title: Allow user to choose if an error has been handled by an ErrorBoundary · Issue #14554 · getsentry/sentry-javascript
Description: Problem Statement #8914 was setting errors caught by ErrorBoundaries as unhandled. Then, #10985 was opened, asking to use the fallback property in order to decide if the error should be considered handled or not, and implemented in #1098...
Open Graph Description: Problem Statement #8914 was setting errors caught by ErrorBoundaries as unhandled. Then, #10985 was opened, asking to use the fallback property in order to decide if the error should be considered ...
X Description: Problem Statement #8914 was setting errors caught by ErrorBoundaries as unhandled. Then, #10985 was opened, asking to use the fallback property in order to decide if the error should be considered ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/14554
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow user to choose if an error has been handled by an ErrorBoundary","articleBody":"### Problem Statement\n\n[#8914](https://github.com/getsentry/sentry-javascript/pull/8914) was setting errors caught by ErrorBoundaries as unhandled.\nThen, [#10985](https://github.com/getsentry/sentry-javascript/issues/10985) was opened, asking to use the `fallback` property in order to decide if the error should be considered handled or not, and implemented in [#10989](https://github.com/getsentry/sentry-javascript/pull/10989).\n\nI'm in a situation where I do **not** want to mark my errors as handled, despite using an ErrorBoundary. The reason is that it's a global error boundary, and at that point I consider that it's equivalent to a crash. I want to include that in my Sentry issues when filtering with unhandled, and I want to have it count towards the crashed sessions.\n\n### Solution Brainstorm\n\nModify the existing ErrorBoundary to pass an explicit `handled` property, defaulting to `undefined`.\n\nFor retro-compatibility the presence of the `fallback` property should be used if `handled` is not set, otherwise the setting should be used directly to mark the error as handled or not.","author":{"url":"https://github.com/HHK1","@type":"Person","name":"HHK1"},"datePublished":"2024-12-03T14:47:23Z","url":"https://github.com/getsentry/sentry-javascript/issues/14554"}
| 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:8936ac9b-8eac-fdd9-1238-7c3450294013 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 81F8:3CC073:22B9311:2DE41E3:6B0362EB |
| html-safe-nonce | 8555da414a81a533cc78998cef98dad1ddbd7735f8d7576013395c407b0c58cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUY4OjNDQzA3MzoyMkI5MzExOjJERTQxRTM6NkIwMzYyRUIiLCJ2aXNpdG9yX2lkIjoiODYwOTIyMDc0NTAwNjExMzUxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fc007bcf55cac85b24750744e7cd5fbd407ade022341a68fc7ee8ee296f354f7 |
| hovercard-subject-tag | issue:2715237016 |
| 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/14554/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec369cc0297f76194fbc0a5158d19293ec6bed1ad0c1c9d73c9ce31f08fb4290/getsentry/sentry-javascript/issues/14554 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec369cc0297f76194fbc0a5158d19293ec6bed1ad0c1c9d73c9ce31f08fb4290/getsentry/sentry-javascript/issues/14554 |
| og:image:alt | Problem Statement #8914 was setting errors caught by ErrorBoundaries as unhandled. Then, #10985 was opened, asking to use the fallback property in order to decide if the error should be considered ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | HHK1 |
| 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