René's URL Explorer Experiment


Title: fix(astro): Handle errors in middlewares better by mydea · Pull Request #16693 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(astro): Handle errors in middlewares better by mydea · Pull Request #16693 · getsentry/sentry-javascript

X Title: fix(astro): Handle errors in middlewares better by mydea · Pull Request #16693 · getsentry/sentry-javascript

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

Open Graph Description: Hopefully fixes #16491 I could not get a reproducing test there for this 🤔 I figure this is "safe" to do, but not quite sure how/when this would happen. I would assume this was "intr...

X Description: Hopefully fixes #16491 I could not get a reproducing test there for this 🤔 I figure this is "safe" to do, but not quite sure how/when this would happen. I would assume this was &a...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:e7abe2f6-ae6e-6e38-530d-94a619f5111d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC7DE:2EAB91:2557340:31EB941:6B06B2E6
html-safe-nonce5675d497c027673f69246cf440087d037d32ba5e8afd93e6323d3647ea8c6f50
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0RFOjJFQUI5MToyNTU3MzQwOjMxRUI5NDE6NkIwNkIyRTYiLCJ2aXNpdG9yX2lkIjoiNDE1MTkyMTMwMzE3MzM3ODc5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace545c36c7bd6a0c91b6c34481258200a76c2ce6ba42abc636ef2b7132d652cbb
hovercard-subject-tagpull_request:2611980188
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/16693/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0ac047f25ad75db69fd361aeec5d584516f55dc8155d3880bd02a07211a9b636/getsentry/sentry-javascript/pull/16693
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0ac047f25ad75db69fd361aeec5d584516f55dc8155d3880bd02a07211a9b636/getsentry/sentry-javascript/pull/16693
og:image:altHopefully fixes #16491 I could not get a reproducing test there for this 🤔 I figure this is "safe" to do, but not quite sure how/when this would happen. I would assume this was "intr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemydea
hostnamegithub.com
expected-hostnamegithub.com
None9b2b1f32e21f9e529372294897d423fa443a20a3a37bafa95dec0f213469ebfc
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
release5402de66059e5821fab003de929c7056c92d863f
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/16693#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F16693
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%2F16693
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/16693
Reloadhttps://github.com/getsentry/sentry-javascript/pull/16693
Reloadhttps://github.com/getsentry/sentry-javascript/pull/16693
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues330 (330)https://github.com/getsentry/sentry-javascript/issues
Pull requests54 (54)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/astro-controllerhttps://github.com/getsentry/sentry-javascript/tree/fn/astro-controller
Conversationhttps://github.com/getsentry/sentry-javascript/pull/16693
Commits3 (3)https://github.com/getsentry/sentry-javascript/pull/16693/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/16693/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/16693/files
fix(astro): Handle errors in middlewares betterhttps://github.com/getsentry/sentry-javascript/pull/16693#top
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/astro-controllerhttps://github.com/getsentry/sentry-javascript/tree/fn/astro-controller
https://github.com/mydea
mydeahttps://github.com/mydea
Jun 23, 2025https://github.com/getsentry/sentry-javascript/pull/16693#issue-3168538377
#16491https://github.com/getsentry/sentry-javascript/issues/16491
#15995https://github.com/getsentry/sentry-javascript/pull/15995
@Fryunihttps://github.com/Fryuni
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
https://github.com/mydea
mydeahttps://github.com/mydea
AbhiPrasadhttps://github.com/AbhiPrasad
andreiborzahttps://github.com/andreiborza
s1gr1dhttps://github.com/s1gr1d
June 23, 2025 15:05https://github.com/getsentry/sentry-javascript/pull/16693#event-18275828746
https://github.com/mydea
mydeahttps://github.com/mydea
Jun 23, 2025https://github.com/getsentry/sentry-javascript/pull/16693#event-18275828880
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Jun 23, 2025 https://github.com/getsentry/sentry-javascript/pull/16693#pullrequestreview-2950486219
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/16693/files
https://github.com/Fryuni
Fryunihttps://github.com/Fryuni
Jun 23, 2025https://github.com/getsentry/sentry-javascript/pull/16693#issuecomment-2996936526
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
https://github.com/mydea
mydeahttps://github.com/mydea
Jun 24, 2025https://github.com/getsentry/sentry-javascript/pull/16693#issuecomment-2999563943
@AbhiPrasadhttps://github.com/AbhiPrasad
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
https://github.com/Fryuni
Fryunihttps://github.com/Fryuni
Jun 24, 2025https://github.com/getsentry/sentry-javascript/pull/16693#issuecomment-3000130751
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
https://github.com/Fryuni
Fryunihttps://github.com/Fryuni
Jun 24, 2025https://github.com/getsentry/sentry-javascript/pull/16693#issuecomment-3000405626
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
https://github.com/mydea
mydeahttps://github.com/mydea
Jun 25, 2025https://github.com/getsentry/sentry-javascript/pull/16693#issuecomment-3004422933
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/98aeae911cc82599673c9a2606b8761a7cafc859..32e798f9fbe3f7bb9d188af00e86ee1ec252683b
98aeae9https://github.com/getsentry/sentry-javascript/commit/98aeae911cc82599673c9a2606b8761a7cafc859
32e798fhttps://github.com/getsentry/sentry-javascript/commit/32e798f9fbe3f7bb9d188af00e86ee1ec252683b
Compare https://github.com/getsentry/sentry-javascript/compare/98aeae911cc82599673c9a2606b8761a7cafc859..32e798f9fbe3f7bb9d188af00e86ee1ec252683b
June 25, 2025 11:26https://github.com/getsentry/sentry-javascript/pull/16693#event-18314721603
https://github.com/mydea
mydeahttps://github.com/mydea
Jun 25, 2025https://github.com/getsentry/sentry-javascript/pull/16693#event-18314729503
https://github.com/bricefriha
bricefrihahttps://github.com/bricefriha
Jun 25, 2025 https://github.com/getsentry/sentry-javascript/pull/16693#pullrequestreview-2958253787
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/16693/files
packages/astro/src/server/middleware.tshttps://github.com/getsentry/sentry-javascript/pull/16693/files#diff-e94a9f9c56d1c44471cedff02057558410865a4dbd7982df900ac58297be649a
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
mydeahttps://github.com/mydea
June 27, 2025 10:42https://github.com/getsentry/sentry-javascript/pull/16693#commits-pushed-28743d9
https://github.com/mydea
fix(astro): Try-catch controller.close() usagehttps://github.com/getsentry/sentry-javascript/pull/16693/commits/28743d910b877bc81e2a48b5da44165d65b31073
28743d9https://github.com/getsentry/sentry-javascript/pull/16693/commits/28743d910b877bc81e2a48b5da44165d65b31073
https://github.com/mydea
better handling of errorshttps://github.com/getsentry/sentry-javascript/pull/16693/commits/82c0250b2051edc8bd5b935f9eb8697e1ef6cca0
82c0250https://github.com/getsentry/sentry-javascript/pull/16693/commits/82c0250b2051edc8bd5b935f9eb8697e1ef6cca0
https://github.com/mydea
avoid consthttps://github.com/getsentry/sentry-javascript/pull/16693/commits/bd0f08c3182047e360e79a60e37e87089c1e2e33
bd0f08chttps://github.com/getsentry/sentry-javascript/pull/16693/commits/bd0f08c3182047e360e79a60e37e87089c1e2e33
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/32e798f9fbe3f7bb9d188af00e86ee1ec252683b..bd0f08c3182047e360e79a60e37e87089c1e2e33
32e798fhttps://github.com/getsentry/sentry-javascript/commit/32e798f9fbe3f7bb9d188af00e86ee1ec252683b
bd0f08chttps://github.com/getsentry/sentry-javascript/commit/bd0f08c3182047e360e79a60e37e87089c1e2e33
Compare https://github.com/getsentry/sentry-javascript/compare/32e798f9fbe3f7bb9d188af00e86ee1ec252683b..bd0f08c3182047e360e79a60e37e87089c1e2e33
June 27, 2025 08:42https://github.com/getsentry/sentry-javascript/pull/16693#event-18352583465
https://github.com/Fryuni
Fryunihttps://github.com/Fryuni
Jun 27, 2025https://github.com/getsentry/sentry-javascript/pull/16693#issuecomment-3012890509
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
https://github.com/mydea
mydeahttps://github.com/mydea
Jul 3, 2025https://github.com/getsentry/sentry-javascript/pull/16693#issuecomment-3032402576
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
https://github.com/mydea
mydeahttps://github.com/mydea
2c50d74https://github.com/getsentry/sentry-javascript/commit/2c50d740c784e2c035b550a57979b0b093db0db1
Jul 3, 2025https://github.com/getsentry/sentry-javascript/pull/16693#event-18453553546
https://github.com/mydea
mydeahttps://github.com/mydea
July 3, 2025 14:03https://github.com/getsentry/sentry-javascript/pull/16693#event-18453554171
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 4, 2025 https://github.com/getsentry/sentry-javascript/pull/16693#ref-issue-3122172000
TypeError: Invalid state: Controller is already closed from Sentry Astro middleware #16491 https://github.com/getsentry/sentry-javascript/issues/16491
Bump @sentry/react from 8.55.0 to 10.16.0 Pouria-FOSSA/dependabot-metadata-test#65 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/65
Bump @sentry/react from 8.55.0 to 10.17.0 Pouria-FOSSA/dependabot-metadata-test#66 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/66
Bump @sentry/react from 8.55.0 to 10.18.0 Pouria-FOSSA/dependabot-metadata-test#68 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/68
Bump @sentry/react from 8.55.0 to 10.19.0 Pouria-FOSSA/dependabot-metadata-test#70 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/70
Bump @sentry/react from 8.55.0 to 10.20.0 Pouria-FOSSA/dependabot-metadata-test#71 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/71
Bump @sentry/react from 8.55.0 to 10.21.0 Pouria-FOSSA/dependabot-metadata-test#72 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/72
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%2F16693
https://github.com/s1gr1d
s1gr1d https://github.com/s1gr1d
https://github.com/andreiborza
andreiborza https://github.com/andreiborza
https://github.com/bricefriha
bricefriha https://github.com/bricefriha
https://github.com/getsentry/sentry-javascript/pull/16693/files/32e798f9fbe3f7bb9d188af00e86ee1ec252683b
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/16693/files/98aeae911cc82599673c9a2606b8761a7cafc859
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
https://github.com/mydea
mydea https://github.com/mydea
TypeError: Invalid state: Controller is already closed from Sentry Astro middleware https://github.com/getsentry/sentry-javascript/issues/16491
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16693
https://github.com/mydea
https://github.com/Fryuni
https://github.com/AbhiPrasad
https://github.com/bricefriha
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.