René's URL Explorer Experiment


Title: fix(react): Handle case where error.cause already defined by AbhiPrasad · Pull Request #7557 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(react): Handle case where error.cause already defined by AbhiPrasad · Pull Request #7557 · getsentry/sentry-javascript

X Title: fix(react): Handle case where error.cause already defined by AbhiPrasad · Pull Request #7557 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: ref: #1401 (comment) If error.cause is already defined, attempt to walk down the error chain to set the ReactErrorBoundary error.

X Description: ref: #1401 (comment) If error.cause is already defined, attempt to walk down the error chain to set the ReactErrorBoundary error.

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/7557

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f601b9a0-b874-a93e-04f3-b224efa3a58c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE746:205761:1464B8:1BE949:6B0491EB
html-safe-noncebea04b7b41a6a0eba389dfea3c111dad15e2b9c35933266f5f1abfd0391805dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzQ2OjIwNTc2MToxNDY0Qjg6MUJFOTQ5OjZCMDQ5MUVCIiwidmlzaXRvcl9pZCI6IjQ2ODEwMjYwMzgxMjg3NDI4OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0435f7e9436a73165b59c6c502fd3fc333fe863a4c79b083e7d4b62c6bfbc73e
hovercard-subject-tagpull_request:1284687407
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/7557/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/769b0aa4878fce6bcf4d13b856ce3cc04d5cb74254b1ccaa68e9adfce9051289/getsentry/sentry-javascript/pull/7557
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/769b0aa4878fce6bcf4d13b856ce3cc04d5cb74254b1ccaa68e9adfce9051289/getsentry/sentry-javascript/pull/7557
og:image:altref: #1401 (comment) If error.cause is already defined, attempt to walk down the error chain to set the ReactErrorBoundary error.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAbhiPrasad
hostnamegithub.com
expected-hostnamegithub.com
None9b297275a74a2c9a35898175c9477837c635d4f579277ebff3b2d6ebd012e247
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb51ce57ca6d4565a42856fc1c9897077c794597f
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/7557#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7557
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7557
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7557
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7557
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7557
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests53 (53)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
AbhiPrasadhttps://github.com/AbhiPrasad
develophttps://github.com/getsentry/sentry-javascript/tree/develop
abhi-react-cause-nestedhttps://github.com/getsentry/sentry-javascript/tree/abhi-react-cause-nested
Conversationhttps://github.com/getsentry/sentry-javascript/pull/7557
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/7557/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/7557/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/7557/files
fix(react): Handle case where error.cause already definedhttps://github.com/getsentry/sentry-javascript/pull/7557#top
AbhiPrasadhttps://github.com/AbhiPrasad
develophttps://github.com/getsentry/sentry-javascript/tree/develop
abhi-react-cause-nestedhttps://github.com/getsentry/sentry-javascript/tree/abhi-react-cause-nested
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 21, 2023https://github.com/getsentry/sentry-javascript/pull/7557#issue-1634430091
#1401 (comment)https://github.com/getsentry/sentry-javascript/issues/1401#issuecomment-1411095278
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
https://github.com/AbhiPrasad
feat(react): Handle case where error.cause already definedhttps://github.com/getsentry/sentry-javascript/pull/7557/commits/e37e6e7c2ac7dc33f9eb33a8db3163e974a72bf8
e37e6e7https://github.com/getsentry/sentry-javascript/pull/7557/commits/e37e6e7c2ac7dc33f9eb33a8db3163e974a72bf8
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
March 21, 2023 17:45https://github.com/getsentry/sentry-javascript/pull/7557#event-8808653570
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 21, 2023https://github.com/getsentry/sentry-javascript/pull/7557#event-8808653679
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
lforsthttps://github.com/lforst
mydeahttps://github.com/mydea
March 21, 2023 17:45https://github.com/getsentry/sentry-javascript/pull/7557#event-8808653737
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 21, 2023 https://github.com/getsentry/sentry-javascript/pull/7557#ref-issue-333186069
Feature: Support cause property on errors #1401 https://github.com/getsentry/sentry-javascript/issues/1401
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 21, 2023https://github.com/getsentry/sentry-javascript/pull/7557#issuecomment-1478340414
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
https://github.com/lforst
lforsthttps://github.com/lforst
Mar 22, 2023 https://github.com/getsentry/sentry-javascript/pull/7557#pullrequestreview-1352253681
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/7557/files/e37e6e7c2ac7dc33f9eb33a8db3163e974a72bf8
packages/react/src/errorboundary.tsxhttps://github.com/getsentry/sentry-javascript/pull/7557/files/e37e6e7c2ac7dc33f9eb33a8db3163e974a72bf8#diff-0c3aa317cf9c841d89853ace58e8572990bb3c464066708a4c08242afe9e556b
lforsthttps://github.com/lforst
Mar 22, 2023https://github.com/getsentry/sentry-javascript/pull/7557#discussion_r1144591466
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 22, 2023https://github.com/getsentry/sentry-javascript/pull/7557#discussion_r1144626701
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 22, 2023https://github.com/getsentry/sentry-javascript/pull/7557#discussion_r1144635712
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
d0c99b2https://github.com/getsentry/sentry-javascript/commit/d0c99b279d5bb38fb2f6d6fe998489149f8ca004
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
https://github.com/AbhiPrasad
Be more defensive when recursing through error cause chainhttps://github.com/getsentry/sentry-javascript/pull/7557/commits/d0c99b279d5bb38fb2f6d6fe998489149f8ca004
d0c99b2https://github.com/getsentry/sentry-javascript/pull/7557/commits/d0c99b279d5bb38fb2f6d6fe998489149f8ca004
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 22, 2023 https://github.com/getsentry/sentry-javascript/pull/7557#pullrequestreview-1352341361
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/7557/files/d0c99b279d5bb38fb2f6d6fe998489149f8ca004
packages/react/src/errorboundary.tsxhttps://github.com/getsentry/sentry-javascript/pull/7557/files/d0c99b279d5bb38fb2f6d6fe998489149f8ca004#diff-0c3aa317cf9c841d89853ace58e8572990bb3c464066708a4c08242afe9e556b
mydeahttps://github.com/mydea
Mar 22, 2023https://github.com/getsentry/sentry-javascript/pull/7557#discussion_r1144653298
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 22, 2023https://github.com/getsentry/sentry-javascript/pull/7557#discussion_r1144980771
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 22, 2023 https://github.com/getsentry/sentry-javascript/pull/7557#pullrequestreview-1352344171
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/7557/files/d0c99b279d5bb38fb2f6d6fe998489149f8ca004
AbhiPrasadhttps://github.com/AbhiPrasad
March 22, 2023 16:14https://github.com/getsentry/sentry-javascript/pull/7557#commits-pushed-c550c7f
https://github.com/AbhiPrasad
Merge branch 'develop' into abhi-react-cause-nestedhttps://github.com/getsentry/sentry-javascript/pull/7557/commits/c550c7f58eccd49b9bf27221f5587614dfa52b2d
c550c7fhttps://github.com/getsentry/sentry-javascript/pull/7557/commits/c550c7f58eccd49b9bf27221f5587614dfa52b2d
https://github.com/AbhiPrasad
use weakmaphttps://github.com/getsentry/sentry-javascript/pull/7557/commits/54aaa3ef8ffa2003df56c6a40da8d25a0bba7ba2
54aaa3ehttps://github.com/getsentry/sentry-javascript/pull/7557/commits/54aaa3ef8ffa2003df56c6a40da8d25a0bba7ba2
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
March 22, 2023 15:16https://github.com/getsentry/sentry-javascript/pull/7557#event-8818087875
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 22, 2023https://github.com/getsentry/sentry-javascript/pull/7557#event-8818089207
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
8e78e6ehttps://github.com/getsentry/sentry-javascript/commit/8e78e6e5ec3b5894176555ee4e19b3368d64c969
Mar 22, 2023https://github.com/getsentry/sentry-javascript/pull/7557#event-8818333028
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
March 22, 2023 15:38https://github.com/getsentry/sentry-javascript/pull/7557#event-8818333297
https://github.com/slorber
slorberhttps://github.com/slorber
Apr 7, 2023 https://github.com/getsentry/sentry-javascript/pull/7557#pullrequestreview-1376135267
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/7557/files/54aaa3ef8ffa2003df56c6a40da8d25a0bba7ba2
packages/react/src/errorboundary.tsxhttps://github.com/getsentry/sentry-javascript/pull/7557/files/54aaa3ef8ffa2003df56c6a40da8d25a0bba7ba2#diff-0c3aa317cf9c841d89853ace58e8572990bb3c464066708a4c08242afe9e556b
slorberhttps://github.com/slorber
Apr 7, 2023https://github.com/getsentry/sentry-javascript/pull/7557#discussion_r1160656634
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
https://github.com/slorber
slorberhttps://github.com/slorber
Apr 7, 2023 https://github.com/getsentry/sentry-javascript/pull/7557#pullrequestreview-1376137378
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/7557/files/54aaa3ef8ffa2003df56c6a40da8d25a0bba7ba2
packages/react/test/errorboundary.test.tsxhttps://github.com/getsentry/sentry-javascript/pull/7557/files/54aaa3ef8ffa2003df56c6a40da8d25a0bba7ba2#diff-057defc926e710dea889a246cc14879244a5d34bc7999a8f15a7660820902751
slorberhttps://github.com/slorber
Apr 7, 2023https://github.com/getsentry/sentry-javascript/pull/7557#discussion_r1160658052
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
AbhiPrasadhttps://github.com/AbhiPrasad
Apr 7, 2023https://github.com/getsentry/sentry-javascript/pull/7557#discussion_r1160673006
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
AbhiPrasadhttps://github.com/AbhiPrasad
Apr 7, 2023https://github.com/getsentry/sentry-javascript/pull/7557#discussion_r1160674055
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
react/react#18561https://github.com/react/react/pull/18561
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
slorberhttps://github.com/slorber
Apr 13, 2023https://github.com/getsentry/sentry-javascript/pull/7557#discussion_r1165652822
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Aug 28, 2023 https://github.com/getsentry/sentry-javascript/pull/7557#ref-issue-1868918910
Wrong explanation about the Exception Interface in docs. #8871 https://github.com/getsentry/sentry-javascript/issues/8871
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7557
https://github.com/mydea
mydea https://github.com/mydea
https://github.com/getsentry/sentry-javascript/pull/7557/files/d0c99b279d5bb38fb2f6d6fe998489149f8ca004
https://github.com/slorber
slorber https://github.com/slorber
https://github.com/getsentry/sentry-javascript/pull/7557/files/54aaa3ef8ffa2003df56c6a40da8d25a0bba7ba2
https://github.com/lforst
lforst https://github.com/lforst
https://github.com/getsentry/sentry-javascript/pull/7557/files/e37e6e7c2ac7dc33f9eb33a8db3163e974a72bf8
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7557
https://github.com/AbhiPrasad
https://github.com/slorber
https://github.com/mydea
https://github.com/lforst
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.