René's URL Explorer Experiment


Title: fix(utils): Fail silently if the provided Dsn is invalid by Lms24 · Pull Request #8121 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(utils): Fail silently if the provided Dsn is invalid by Lms24 · Pull Request #8121 · getsentry/sentry-javascript

X Title: fix(utils): Fail silently if the provided Dsn is invalid by Lms24 · Pull Request #8121 · getsentry/sentry-javascript

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

Open Graph Description: As discussed, we don't want to hard-throw if the SDK gets an invalid DSN. This PR fixes that by allowing makeDsn and dsnFromString to return undefined, which we do if the Dsn is invalid. This i...

X Description: As discussed, we don't want to hard-throw if the SDK gets an invalid DSN. This PR fixes that by allowing makeDsn and dsnFromString to return undefined, which we do if the Dsn is invalid. Th...

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

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:6f08ace9-665c-e74a-7ab4-dc791234684f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDEC0:3B22A0:B11BE9:E92003:6B053315
html-safe-nonce1c2d49d57bd89b37cdc777868559ffc36b6a6f5d4556e23a1f17026f5a0926d4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUMwOjNCMjJBMDpCMTFCRTk6RTkyMDAzOjZCMDUzMzE1IiwidmlzaXRvcl9pZCI6IjIxNDAzMTE5MjYyODk1NDM5NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacade01357f1ffc89ec4e1f258219ed6b64d1e4344d4141a2a2d8a027af6236c7e
hovercard-subject-tagpull_request:1351059659
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/8121/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8d78b9f77d8f89581627209d4163ba4ebad0744770d6fd004f369e51f8ac7fe8/getsentry/sentry-javascript/pull/8121
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d78b9f77d8f89581627209d4163ba4ebad0744770d6fd004f369e51f8ac7fe8/getsentry/sentry-javascript/pull/8121
og:image:altAs discussed, we don't want to hard-throw if the SDK gets an invalid DSN. This PR fixes that by allowing makeDsn and dsnFromString to return undefined, which we do if the Dsn is invalid. This i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLms24
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
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
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/8121#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F8121
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%2F8121
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/8121
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8121
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8121
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues334 (334)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
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/dont-throw-invalid-dsn-errorhttps://github.com/getsentry/sentry-javascript/tree/lms/dont-throw-invalid-dsn-error
Conversationhttps://github.com/getsentry/sentry-javascript/pull/8121
Commits5 (5)https://github.com/getsentry/sentry-javascript/pull/8121/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/8121/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/8121/files
fix(utils): Fail silently if the provided Dsn is invalidhttps://github.com/getsentry/sentry-javascript/pull/8121#top
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/dont-throw-invalid-dsn-errorhttps://github.com/getsentry/sentry-javascript/tree/lms/dont-throw-invalid-dsn-error
https://github.com/Lms24
Lms24https://github.com/Lms24
May 15, 2023https://github.com/getsentry/sentry-javascript/pull/8121#issue-1710386213
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8121
#8110https://github.com/getsentry/sentry-javascript/issues/8110
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8121
https://github.com/Lms24
Lms24https://github.com/Lms24
AbhiPrasadhttps://github.com/AbhiPrasad
lforsthttps://github.com/lforst
May 15, 2023 15:59https://github.com/getsentry/sentry-javascript/pull/8121#event-9248427429
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 15, 2023https://github.com/getsentry/sentry-javascript/pull/8121#issuecomment-1548155333
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8121
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8121
Lms24https://github.com/Lms24
May 16, 2023 15:16https://github.com/getsentry/sentry-javascript/pull/8121#commits-pushed-983b0c0
https://github.com/Lms24
fix(utils): Fail silently if the provided Dsn is invalidhttps://github.com/getsentry/sentry-javascript/pull/8121/commits/983b0c0ab2df3238e46fb05978d32e42bd2deaa8
983b0c0https://github.com/getsentry/sentry-javascript/pull/8121/commits/983b0c0ab2df3238e46fb05978d32e42bd2deaa8
https://github.com/Lms24
fix testshttps://github.com/getsentry/sentry-javascript/pull/8121/commits/c3043de2d973e205f83d2aa14719545c1c456b77
c3043dehttps://github.com/getsentry/sentry-javascript/pull/8121/commits/c3043de2d973e205f83d2aa14719545c1c456b77
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/b41976402d2d07e2b809ccf706616ca473948655..c3043de2d973e205f83d2aa14719545c1c456b77
b419764https://github.com/getsentry/sentry-javascript/commit/b41976402d2d07e2b809ccf706616ca473948655
c3043dehttps://github.com/getsentry/sentry-javascript/commit/c3043de2d973e205f83d2aa14719545c1c456b77
Compare https://github.com/getsentry/sentry-javascript/compare/b41976402d2d07e2b809ccf706616ca473948655..c3043de2d973e205f83d2aa14719545c1c456b77
May 16, 2023 13:20https://github.com/getsentry/sentry-javascript/pull/8121#event-9258089518
Lms24https://github.com/Lms24
May 16, 2023 15:23https://github.com/getsentry/sentry-javascript/pull/8121#commits-pushed-f5c2107
https://github.com/Lms24
cleanuphttps://github.com/getsentry/sentry-javascript/pull/8121/commits/f5c210733bad4827729f3afd16436456697ce677
f5c2107https://github.com/getsentry/sentry-javascript/pull/8121/commits/f5c210733bad4827729f3afd16436456697ce677
https://github.com/Lms24
remove remaining throwshttps://github.com/getsentry/sentry-javascript/pull/8121/commits/78468e3b22756a45e034fe3c22d22f5a46e4dac3
78468e3https://github.com/getsentry/sentry-javascript/pull/8121/commits/78468e3b22756a45e034fe3c22d22f5a46e4dac3
https://github.com/Lms24
Lms24https://github.com/Lms24
May 16, 2023 https://github.com/getsentry/sentry-javascript/pull/8121#pullrequestreview-1428701510
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8121/files
packages/core/src/api.tshttps://github.com/getsentry/sentry-javascript/pull/8121/files#diff-7a68aa0c5146864913c9bb8b990a25deb8715ead9aea7f9aa9e0f44d23d57448
Lms24https://github.com/Lms24
May 16, 2023https://github.com/getsentry/sentry-javascript/pull/8121#discussion_r1195240822
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8121
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8121
https://github.com/Lms24
switch to console errorhttps://github.com/getsentry/sentry-javascript/pull/8121/commits/de3e675e708b519fefd7f0342f7370573c5da4de
de3e675https://github.com/getsentry/sentry-javascript/pull/8121/commits/de3e675e708b519fefd7f0342f7370573c5da4de
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/a99158093af4a2c7d83ebc403f79e6bca80434e5..de3e675e708b519fefd7f0342f7370573c5da4de
a991580https://github.com/getsentry/sentry-javascript/commit/a99158093af4a2c7d83ebc403f79e6bca80434e5
de3e675https://github.com/getsentry/sentry-javascript/commit/de3e675e708b519fefd7f0342f7370573c5da4de
Compare https://github.com/getsentry/sentry-javascript/compare/a99158093af4a2c7d83ebc403f79e6bca80434e5..de3e675e708b519fefd7f0342f7370573c5da4de
May 16, 2023 14:18https://github.com/getsentry/sentry-javascript/pull/8121#event-9258779791
https://github.com/Lms24
Lms24https://github.com/Lms24
May 16, 2023 https://github.com/getsentry/sentry-javascript/pull/8121#pullrequestreview-1428709519
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8121/files/de3e675e708b519fefd7f0342f7370573c5da4de
packages/utils/src/dsn.tshttps://github.com/getsentry/sentry-javascript/pull/8121/files/de3e675e708b519fefd7f0342f7370573c5da4de#diff-f57ac5ab3c1d838b85a6ce0cb9ce78bfa9010513942d6ea36709ba0fc85fc2de
Lms24https://github.com/Lms24
May 16, 2023https://github.com/getsentry/sentry-javascript/pull/8121#discussion_r1195245991
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8121
https://github.com/lforst
lforsthttps://github.com/lforst
May 17, 2023 https://github.com/getsentry/sentry-javascript/pull/8121#pullrequestreview-1430430701
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8121/files/de3e675e708b519fefd7f0342f7370573c5da4de
https://github.com/Lms24
Lms24https://github.com/Lms24
6bf5d3ahttps://github.com/getsentry/sentry-javascript/commit/6bf5d3aed0a06ce2bfece8efd8e43fb248cd431e
May 17, 2023https://github.com/getsentry/sentry-javascript/pull/8121#event-9268181471
https://github.com/Lms24
Lms24https://github.com/Lms24
May 17, 2023 11:36https://github.com/getsentry/sentry-javascript/pull/8121#event-9268181728
https://github.com/Starefossen
Starefossenhttps://github.com/Starefossen
Jul 12, 2026 https://github.com/getsentry/sentry-javascript/pull/8121#ref-issue-4865868055
PRD: @nais/apm auto-config — consume platform config, loud failure, per-architecture helpers nais/grafana-apm-app#133 https://github.com/nais/grafana-apm-app/issues/133
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%2F8121
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/lforst
lforst https://github.com/lforst
https://github.com/getsentry/sentry-javascript/pull/8121/files/de3e675e708b519fefd7f0342f7370573c5da4de
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8121
SDK crashes if malformed DSN is provided https://github.com/getsentry/sentry-javascript/issues/8110
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8121
https://github.com/Lms24
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.