René's URL Explorer Experiment


Title: ref(sveltekit): Improve SvelteKit 2.0 Not Found server error handling by Lms24 · Pull Request #9901 · getsentry/sentry-javascript · GitHub

Open Graph Title: ref(sveltekit): Improve SvelteKit 2.0 Not Found server error handling by Lms24 · Pull Request #9901 · getsentry/sentry-javascript

X Title: ref(sveltekit): Improve SvelteKit 2.0 Not Found server error handling by Lms24 · Pull Request #9901 · getsentry/sentry-javascript

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

Open Graph Description: This PR improves our logic to filter out "Not Found" errors in our server-side handleError hook wrapper: We now use SvelteKit 2.0 - native error properties (status and message) to check ...

X Description: This PR improves our logic to filter out "Not Found" errors in our server-side handleError hook wrapper: We now use SvelteKit 2.0 - native error properties (status and message) t...

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

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:4820c737-b204-72b3-cf59-e1fa2f68a414
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD946:3AAB66:AA7030:E8656A:6B03F740
html-safe-nonce514aa21a34564641704b39d5aaca614b337e4df738abcb1091042dfa0666764c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTQ2OjNBQUI2NjpBQTcwMzA6RTg2NTZBOjZCMDNGNzQwIiwidmlzaXRvcl9pZCI6IjE4OTI0MzMyMDU5NzAzMzU1NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7bc562543bfa665e93ac62ff39c7b003ac246ec8593ec89f691569a826cb11fe
hovercard-subject-tagpull_request:1649008666
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/9901/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/69540b306ddbb525477101e126a47768eaa44edc21c274b036da4fb647e961de/getsentry/sentry-javascript/pull/9901
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69540b306ddbb525477101e126a47768eaa44edc21c274b036da4fb647e961de/getsentry/sentry-javascript/pull/9901
og:image:altThis PR improves our logic to filter out "Not Found" errors in our server-side handleError hook wrapper: We now use SvelteKit 2.0 - native error properties (status and message) to check ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLms24
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/9901#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F9901
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%2F9901
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/9901
Reloadhttps://github.com/getsentry/sentry-javascript/pull/9901
Reloadhttps://github.com/getsentry/sentry-javascript/pull/9901
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 requests69 (69)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
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/ref-sveltekit-improve-server-handleErrorhttps://github.com/getsentry/sentry-javascript/tree/lms/ref-sveltekit-improve-server-handleError
Conversationhttps://github.com/getsentry/sentry-javascript/pull/9901
Commits5 (5)https://github.com/getsentry/sentry-javascript/pull/9901/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/9901/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/9901/files
ref(sveltekit): Improve SvelteKit 2.0 Not Found server error handlinghttps://github.com/getsentry/sentry-javascript/pull/9901#top
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/ref-sveltekit-improve-server-handleErrorhttps://github.com/getsentry/sentry-javascript/tree/lms/ref-sveltekit-improve-server-handleError
https://github.com/Lms24
Lms24https://github.com/Lms24
Dec 18, 2023https://github.com/getsentry/sentry-javascript/pull/9901#issue-2047126201
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
error propertieshttps://kit.svelte.dev/docs/migrating-to-sveltekit-2#improved-error-handling
#9851https://github.com/getsentry/sentry-javascript/issues/9851
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
https://github.com/Lms24
Lms24https://github.com/Lms24
Dec 18, 2023https://github.com/getsentry/sentry-javascript/pull/9901#event-11279757787
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/87f2c17d973cb5a8a3e8fd3f7e02f17ccca64816..8cfeb813a0e216b8b053ada648d445136e085fde
87f2c17https://github.com/getsentry/sentry-javascript/commit/87f2c17d973cb5a8a3e8fd3f7e02f17ccca64816
8cfeb81https://github.com/getsentry/sentry-javascript/commit/8cfeb813a0e216b8b053ada648d445136e085fde
Compare https://github.com/getsentry/sentry-javascript/compare/87f2c17d973cb5a8a3e8fd3f7e02f17ccca64816..8cfeb813a0e216b8b053ada648d445136e085fde
December 18, 2023 17:43https://github.com/getsentry/sentry-javascript/pull/9901#event-11279778123
https://github.com/Lms24
Lms24https://github.com/Lms24
Dec 18, 2023 https://github.com/getsentry/sentry-javascript/pull/9901#pullrequestreview-1787430986
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/9901/files
packages/sveltekit/src/client/handleError.tshttps://github.com/getsentry/sentry-javascript/pull/9901/files#diff-e8c4c6379ac13e0b217d0d52e80c392ef1c4ef45c4767639d736ed85b99d3e90
Lms24https://github.com/Lms24
Dec 18, 2023https://github.com/getsentry/sentry-javascript/pull/9901#discussion_r1430477321
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
packages/sveltekit/test/common/utils.test.tshttps://github.com/getsentry/sentry-javascript/pull/9901/files#diff-02399427df46945803178e632b990a175fe5e139aeb200fd8eaf1502bc7157f7
Lms24https://github.com/Lms24
Dec 18, 2023https://github.com/getsentry/sentry-javascript/pull/9901#discussion_r1430477881
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
https://github.com/Lms24
Lms24https://github.com/Lms24
AbhiPrasadhttps://github.com/AbhiPrasad
lforsthttps://github.com/lforst
December 18, 2023 17:51https://github.com/getsentry/sentry-javascript/pull/9901#event-11279854087
https://github.com/Lms24
Lms24https://github.com/Lms24
December 18, 2023 17:51https://github.com/getsentry/sentry-javascript/pull/9901#event-11279855702
https://github.com/Lms24
Lms24https://github.com/Lms24
Dec 18, 2023 https://github.com/getsentry/sentry-javascript/pull/9901#ref-issue-2042148322
Support Sveltekit v2 #9851 https://github.com/getsentry/sentry-javascript/issues/9851
https://github.com/Lms24
Lms24https://github.com/Lms24
Dec 18, 2023https://github.com/getsentry/sentry-javascript/pull/9901#event-11279867639
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Dec 18, 2023 https://github.com/getsentry/sentry-javascript/pull/9901#pullrequestreview-1787444440
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/9901/files
packages/sveltekit/src/server/handleError.tshttps://github.com/getsentry/sentry-javascript/pull/9901/files#diff-6559efeaec27498c60e5ed3b17256fe3e813c83062b4bb7005b9b0f76761b0ce
AbhiPrasadhttps://github.com/AbhiPrasad
Dec 18, 2023https://github.com/getsentry/sentry-javascript/pull/9901#discussion_r1430485635
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
Lms24https://github.com/Lms24
Dec 18, 2023https://github.com/getsentry/sentry-javascript/pull/9901#discussion_r1430491538
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/sveltejs/kit/blob/fc8389c9cf42a02665edd8aa7a6840fe982134c9/packages/kit/src/utils/error.js#L26-L39https://github.com/sveltejs/kit/blob/fc8389c9cf42a02665edd8aa7a6840fe982134c9/packages/kit/src/utils/error.js#L26-L39
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
AbhiPrasadhttps://github.com/AbhiPrasad
Dec 18, 2023https://github.com/getsentry/sentry-javascript/pull/9901#discussion_r1430542299
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
lforsthttps://github.com/lforst
Dec 19, 2023https://github.com/getsentry/sentry-javascript/pull/9901#discussion_r1431091008
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
Lms24https://github.com/Lms24
Dec 19, 2023https://github.com/getsentry/sentry-javascript/pull/9901#discussion_r1431330780
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
https://github.com/Lms24
Lms24https://github.com/Lms24
Dec 18, 2023 https://github.com/getsentry/sentry-javascript/pull/9901#ref-pullrequest-2047180222
fix(sveltekit): Avoid capturing 404 errors on client side #9902 https://github.com/getsentry/sentry-javascript/pull/9902
https://github.com/lforst
lforsthttps://github.com/lforst
Dec 19, 2023 https://github.com/getsentry/sentry-javascript/pull/9901#pullrequestreview-1788373896
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/9901/files
packages/sveltekit/src/server/handleError.tshttps://github.com/getsentry/sentry-javascript/pull/9901/files#diff-6559efeaec27498c60e5ed3b17256fe3e813c83062b4bb7005b9b0f76761b0ce
lforsthttps://github.com/lforst
Dec 19, 2023https://github.com/getsentry/sentry-javascript/pull/9901#discussion_r1431091008
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
Lms24https://github.com/Lms24
December 19, 2023 13:08https://github.com/getsentry/sentry-javascript/pull/9901#commits-pushed-a14104c
https://github.com/Lms24
ref(sveltekit): Improve SvelteKit 2.0 Not Found error handlinghttps://github.com/getsentry/sentry-javascript/pull/9901/commits/a14104c85f4b0e7874505a1af0be20e66fc7c13b
a14104chttps://github.com/getsentry/sentry-javascript/pull/9901/commits/a14104c85f4b0e7874505a1af0be20e66fc7c13b
https://github.com/Lms24
add testhttps://github.com/getsentry/sentry-javascript/pull/9901/commits/b40dfe57d59148fcc4c143dcdd4fd0379b4f36d4
b40dfe5https://github.com/getsentry/sentry-javascript/pull/9901/commits/b40dfe57d59148fcc4c143dcdd4fd0379b4f36d4
https://github.com/Lms24
fix redirect now being thrown (only relevant in test)https://github.com/getsentry/sentry-javascript/pull/9901/commits/e5df24e35986f0dc15dcbba6bc9ae75fdea010f1
e5df24ehttps://github.com/getsentry/sentry-javascript/pull/9901/commits/e5df24e35986f0dc15dcbba6bc9ae75fdea010f1
https://github.com/Lms24
fix type error in client handleErrorhttps://github.com/getsentry/sentry-javascript/pull/9901/commits/44abc21d4cae85ba65104391e637b0191006b69c
44abc21https://github.com/getsentry/sentry-javascript/pull/9901/commits/44abc21d4cae85ba65104391e637b0191006b69c
https://github.com/Lms24
only check statushttps://github.com/getsentry/sentry-javascript/pull/9901/commits/51788bc79dab87b93db323ff4f5a9e935aa3015d
51788bchttps://github.com/getsentry/sentry-javascript/pull/9901/commits/51788bc79dab87b93db323ff4f5a9e935aa3015d
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/a4e6a66d35ca7dbe0d183258c448c634a9fcef4d..51788bc79dab87b93db323ff4f5a9e935aa3015d
a4e6a66https://github.com/getsentry/sentry-javascript/commit/a4e6a66d35ca7dbe0d183258c448c634a9fcef4d
51788bchttps://github.com/getsentry/sentry-javascript/commit/51788bc79dab87b93db323ff4f5a9e935aa3015d
Compare https://github.com/getsentry/sentry-javascript/compare/a4e6a66d35ca7dbe0d183258c448c634a9fcef4d..51788bc79dab87b93db323ff4f5a9e935aa3015d
December 19, 2023 12:18https://github.com/getsentry/sentry-javascript/pull/9901#event-11288961596
https://github.com/Lms24
Lms24https://github.com/Lms24
December 19, 2023 12:20https://github.com/getsentry/sentry-javascript/pull/9901#event-11288982307
https://github.com/Lms24
Lms24https://github.com/Lms24
cef3621https://github.com/getsentry/sentry-javascript/commit/cef3621ce44067992a9ab530d81ef6966bf2b9d3
Dec 19, 2023https://github.com/getsentry/sentry-javascript/pull/9901#event-11289143251
https://github.com/Lms24
Lms24https://github.com/Lms24
December 19, 2023 12:35https://github.com/getsentry/sentry-javascript/pull/9901#event-11289143551
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%2F9901
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/9901/files/a4e6a66d35ca7dbe0d183258c448c634a9fcef4d
https://github.com/lforst
lforst https://github.com/lforst
https://github.com/getsentry/sentry-javascript/pull/9901/files/a4e6a66d35ca7dbe0d183258c448c634a9fcef4d
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
https://github.com/Lms24
Lms24 https://github.com/Lms24
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/9901
https://github.com/Lms24
https://github.com/lforst
https://github.com/AbhiPrasad
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.