René's URL Explorer Experiment


Title: feat(browser): Attach host as part of error message to "Failed to fetch" errors by mydea · Pull Request #15729 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(browser): Attach host as part of error message to "Failed to fetch" errors by mydea · Pull Request #15729 · getsentry/sentry-javascript

X Title: feat(browser): Attach host as part of error message to "Failed to fetch" errors by mydea · Pull Request #15729 · getsentry/sentry-javascript

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

Open Graph Description: Closes #15709 This also adds tests for the various types of TypeErrors that fetch can produce.

X Description: Closes #15709 This also adds tests for the various types of TypeErrors that fetch can produce.

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.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:b4d8dd58-1352-fa12-49c3-d46bae329ef2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9408:27764F:9F35A9:D8AFF7:6B03F2A3
html-safe-nonce3a9923daaf7d9fa3aa1be260c04bcd755f341461801f3a52757f676a22cf3a11
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDA4OjI3NzY0Rjo5RjM1QTk6RDhBRkY3OjZCMDNGMkEzIiwidmlzaXRvcl9pZCI6IjgxMzI0Njg5MzQwODQ2NTM3MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3f96bebd450021d2f57cc9b0e8658f6ac1e8c045134d52e13aa7ab15f38f98f3
hovercard-subject-tagpull_request:2403358442
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/15729/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/28c54e99d7e39d86f49a6b354e7ef7308af75c3b881f9ad9203cef8002ae1f35/getsentry/sentry-javascript/pull/15729
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/28c54e99d7e39d86f49a6b354e7ef7308af75c3b881f9ad9203cef8002ae1f35/getsentry/sentry-javascript/pull/15729
og:image:altCloses #15709 This also adds tests for the various types of TypeErrors that fetch can produce.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemydea
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/15729#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F15729
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%2F15729
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/15729
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15729
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15729
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues345 (345)https://github.com/getsentry/sentry-javascript/issues
Pull requests77 (77)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
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/add-fetch-error-testshttps://github.com/getsentry/sentry-javascript/tree/fn/add-fetch-error-tests
Conversationhttps://github.com/getsentry/sentry-javascript/pull/15729
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/15729/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/15729/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/15729/files
feat(browser): Attach host as part of error message to "Failed to fetch" errorshttps://github.com/getsentry/sentry-javascript/pull/15729#top
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/add-fetch-error-testshttps://github.com/getsentry/sentry-javascript/tree/fn/add-fetch-error-tests
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 19, 2025https://github.com/getsentry/sentry-javascript/pull/15729#issue-2931296276
#15709https://github.com/getsentry/sentry-javascript/issues/15709
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15729
https://github.com/mydea
mydeahttps://github.com/mydea
chargomehttps://github.com/chargome
lforsthttps://github.com/lforst
March 19, 2025 10:39https://github.com/getsentry/sentry-javascript/pull/15729#event-16861194955
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 19, 2025https://github.com/getsentry/sentry-javascript/pull/15729#event-16861195003
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 19, 2025https://github.com/getsentry/sentry-javascript/pull/15729#issuecomment-2736165169
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15729
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/14032063147
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15729
https://github.com/chargome
chargomehttps://github.com/chargome
Mar 19, 2025 https://github.com/getsentry/sentry-javascript/pull/15729#pullrequestreview-2698019420
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15729/files
chargomehttps://github.com/chargome
https://github.com/getsentry/sentry-javascript/pull/15729#pullrequestreview-2698019420
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15729
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/65b835ee73088853b7eb221dcc534c5aa771093d..b3fde77a969d91fa2a2253705b3b1daf89a73b71
65b835ehttps://github.com/getsentry/sentry-javascript/commit/65b835ee73088853b7eb221dcc534c5aa771093d
b3fde77https://github.com/getsentry/sentry-javascript/commit/b3fde77a969d91fa2a2253705b3b1daf89a73b71
Compare https://github.com/getsentry/sentry-javascript/compare/65b835ee73088853b7eb221dcc534c5aa771093d..b3fde77a969d91fa2a2253705b3b1daf89a73b71
March 19, 2025 13:06https://github.com/getsentry/sentry-javascript/pull/15729#event-16864800550
https://github.com/lforst
lforsthttps://github.com/lforst
Mar 19, 2025 https://github.com/getsentry/sentry-javascript/pull/15729#pullrequestreview-2698502829
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15729/files
packages/core/src/utils-hoist/instrument/fetch.tshttps://github.com/getsentry/sentry-javascript/pull/15729/files#diff-e7f4fe2d912853b5030ecfce8ca32273f4737e635058a9d089e1acdd3ba1f715
lforsthttps://github.com/lforst
Mar 19, 2025https://github.com/getsentry/sentry-javascript/pull/15729#discussion_r2003361136
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15729
lforsthttps://github.com/lforst
Mar 19, 2025https://github.com/getsentry/sentry-javascript/pull/15729#discussion_r2003363298
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15729
mydeahttps://github.com/mydea
Mar 19, 2025https://github.com/getsentry/sentry-javascript/pull/15729#discussion_r2003371677
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15729
mydeahttps://github.com/mydea
Mar 19, 2025https://github.com/getsentry/sentry-javascript/pull/15729#discussion_r2003376769
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15729
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/c43281845078dee5b48743d55797597becb1df91..981a5f843f3fd84ab92f05675204072d55c304f1
c432818https://github.com/getsentry/sentry-javascript/commit/c43281845078dee5b48743d55797597becb1df91
981a5f8https://github.com/getsentry/sentry-javascript/commit/981a5f843f3fd84ab92f05675204072d55c304f1
Compare https://github.com/getsentry/sentry-javascript/compare/c43281845078dee5b48743d55797597becb1df91..981a5f843f3fd84ab92f05675204072d55c304f1
March 19, 2025 14:16https://github.com/getsentry/sentry-javascript/pull/15729#event-16866940232
https://github.com/chargome
chargomehttps://github.com/chargome
Mar 19, 2025 https://github.com/getsentry/sentry-javascript/pull/15729#ref-pullrequest-2931878603
Branch for 9.7.0-alpha #15738 https://github.com/getsentry/sentry-javascript/pull/15738
https://github.com/lforst
lforsthttps://github.com/lforst
Mar 20, 2025https://github.com/getsentry/sentry-javascript/pull/15729#issuecomment-2739792477
https://private-user-images.githubusercontent.com/8118419/424911480-ecd0d093-abe7-439c-adba-e01518e5825b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0MjExMzYsIm5iZiI6MTc5NTQyMDgzNiwicGF0aCI6Ii84MTE4NDE5LzQyNDkxMTQ4MC1lY2QwZDA5My1hYmU3LTQzOWMtYWRiYS1lMDE1MThlNTgyNWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjNUMDgwMDM2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGJhOGM0YTdjZTgxMmYzOTBkZTZlMjcwYjgyM2I2MTc4NWUyOTQ3NDg2MGJjMjczZDBjOTYyOTEyNzdkYTk1MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.rdDYN8nGYkDu1tMPozp5m6B0zS4tqDwWh-HW1twjwzs
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15729
https://github.com/lforst
lforsthttps://github.com/lforst
Mar 20, 2025 https://github.com/getsentry/sentry-javascript/pull/15729#pullrequestreview-2701965954
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15729/files
lforsthttps://github.com/lforst
https://github.com/getsentry/sentry-javascript/pull/15729#pullrequestreview-2701965954
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15729
https://github.com/lforst
lforsthttps://github.com/lforst
Mar 20, 2025https://github.com/getsentry/sentry-javascript/pull/15729#event-16899308690
mydeahttps://github.com/mydea
March 24, 2025 10:34https://github.com/getsentry/sentry-javascript/pull/15729#commits-pushed-35be94b
https://github.com/mydea
feat(browser): Attach top-level domain to "Failed to fetch" errorshttps://github.com/getsentry/sentry-javascript/pull/15729/commits/35be94b1c13117fa09d31f79266a23464eada69b
35be94bhttps://github.com/getsentry/sentry-javascript/pull/15729/commits/35be94b1c13117fa09d31f79266a23464eada69b
#15709https://github.com/getsentry/sentry-javascript/issues/15709
https://github.com/mydea
take top level domain onlyhttps://github.com/getsentry/sentry-javascript/pull/15729/commits/46e4deddac1cf2f12fef75df170107ff9961494b
46e4dedhttps://github.com/getsentry/sentry-javascript/pull/15729/commits/46e4deddac1cf2f12fef75df170107ff9961494b
https://github.com/mydea
do not use subdomainhttps://github.com/getsentry/sentry-javascript/pull/15729/commits/38e1b89171e465e8c02c613e3c5fb96539c74d60
38e1b89https://github.com/getsentry/sentry-javascript/pull/15729/commits/38e1b89171e465e8c02c613e3c5fb96539c74d60
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/981a5f843f3fd84ab92f05675204072d55c304f1..38e1b89171e465e8c02c613e3c5fb96539c74d60
981a5f8https://github.com/getsentry/sentry-javascript/commit/981a5f843f3fd84ab92f05675204072d55c304f1
38e1b89https://github.com/getsentry/sentry-javascript/commit/38e1b89171e465e8c02c613e3c5fb96539c74d60
Compare https://github.com/getsentry/sentry-javascript/compare/981a5f843f3fd84ab92f05675204072d55c304f1..38e1b89171e465e8c02c613e3c5fb96539c74d60
March 24, 2025 09:38https://github.com/getsentry/sentry-javascript/pull/15729#event-16952087082
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 24, 2025https://github.com/getsentry/sentry-javascript/pull/15729#issuecomment-2747479887
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15729
https://github.com/chargome
chargomehttps://github.com/chargome
Mar 24, 2025 https://github.com/getsentry/sentry-javascript/pull/15729#pullrequestreview-2709746047
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15729/files/38e1b89171e465e8c02c613e3c5fb96539c74d60
https://github.com/mydea
bump size limithttps://github.com/getsentry/sentry-javascript/pull/15729/commits/aa3a76e437f57b379017e7a62ee8d7c60ef1e0af
aa3a76ehttps://github.com/getsentry/sentry-javascript/pull/15729/commits/aa3a76e437f57b379017e7a62ee8d7c60ef1e0af
https://github.com/mydea
mydeahttps://github.com/mydea
0cf8ec2https://github.com/getsentry/sentry-javascript/commit/0cf8ec2637cff9cff12c34e2996fd146172f6d82
Mar 24, 2025https://github.com/getsentry/sentry-javascript/pull/15729#event-16952820363
https://github.com/mydea
mydeahttps://github.com/mydea
March 24, 2025 10:21https://github.com/getsentry/sentry-javascript/pull/15729#event-16952820887
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 24, 2025 https://github.com/getsentry/sentry-javascript/pull/15729#ref-issue-2925609538
Attach top level domain to Failed to fetch errors. #15709 https://github.com/getsentry/sentry-javascript/issues/15709
mergifyhttps://github.com/apps/mergify
Apr 11, 2025 https://github.com/getsentry/sentry-javascript/pull/15729#ref-commit-a8ae5d7
https://github.com/marketplace/mergify
[Snyk] Upgrade @sentry/browser from 9.6.1 to 9.7.0 (https://github.com/reisene/HulajDusza-serwis/commit/a8ae5d7ff30acb296de28ab8e7ff6b50a897c5bd
#336https://github.com/reisene/HulajDusza-serwis/pull/336
)https://github.com/reisene/HulajDusza-serwis/commit/a8ae5d7ff30acb296de28ab8e7ff6b50a897c5bd
a8ae5d7https://github.com/reisene/HulajDusza-serwis/commit/a8ae5d7ff30acb296de28ab8e7ff6b50a897c5bd
https://badgen.net/badge/icon/reisene/green?label=https://badgen.net/badge/icon/reisene/green?label=
https://user-images.githubusercontent.com/1393946/111216524-d2bb8e00-85d4-11eb-821b-ed4c00989c02.png">](https://pullrequestbadge.com/?utm_medium=github&utm_source=reisene&utm_campaign=badge_info)