René's URL Explorer Experiment


Title: fix(server-utils): Don't capture caller-handled LangChain errors by nicohrubec · Pull Request #23593 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(server-utils): Don't capture caller-handled LangChain errors by nicohrubec · Pull Request #23593 · getsentry/sentry-javascript

X Title: fix(server-utils): Don't capture caller-handled LangChain errors by nicohrubec · Pull Request #23593 · getsentry/sentry-javascript

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

Open Graph Description: LangChain's callback error handlers (handleLLMError, handleChainError, handleToolError) and the embeddings wrapper called captureException(error, { handled: false }). These errors reject invoke...

X Description: LangChain's callback error handlers (handleLLMError, handleChainError, handleToolError) and the embeddings wrapper called captureException(error, { handled: false }). These errors reject in...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.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:d533f03d-4742-dde8-e222-5027cf5207e4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBBBA:35E323:11C23D7:18FFB2F:6B045410
html-safe-nonce358e7ce25e8ce3641954d457eab4fdeb56e546037f5e8f7964ccd30e02189034
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkJBOjM1RTMyMzoxMUMyM0Q3OjE4RkZCMkY6NkIwNDU0MTAiLCJ2aXNpdG9yX2lkIjoiNDk4MDk1NDY5NDAxMzk2NTMyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc565ff0023a214a7de18100529dcafdbabcd233b886ccebbeb20b1f943971c9f
hovercard-subject-tagpull_request:4359005000
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/23593/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b5098b39c3e87807eba05ce4400623c5d8c7a2be2ffd0b71e3cba969123aa53a/getsentry/sentry-javascript/pull/23593
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b5098b39c3e87807eba05ce4400623c5d8c7a2be2ffd0b71e3cba969123aa53a/getsentry/sentry-javascript/pull/23593
og:image:altLangChain's callback error handlers (handleLLMError, handleChainError, handleToolError) and the embeddings wrapper called captureException(error, { handled: false }). These errors reject invoke...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenicohrubec
hostnamegithub.com
expected-hostnamegithub.com
None910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0
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
releasee086f9b7e88322eb2b41885a6ad425b215737fa5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/23593#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F23593
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%2F23593
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/23593
Reloadhttps://github.com/getsentry/sentry-javascript/pull/23593
Reloadhttps://github.com/getsentry/sentry-javascript/pull/23593
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)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
nicohrubechttps://github.com/nicohrubec
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fix/langchain-instrumentation-error-capturehttps://github.com/getsentry/sentry-javascript/tree/fix/langchain-instrumentation-error-capture
Conversationhttps://github.com/getsentry/sentry-javascript/pull/23593
Commits3 (3)https://github.com/getsentry/sentry-javascript/pull/23593/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/23593/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/23593/files
fix(server-utils): Don't capture caller-handled LangChain errorshttps://github.com/getsentry/sentry-javascript/pull/23593#top
nicohrubechttps://github.com/nicohrubec
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fix/langchain-instrumentation-error-capturehttps://github.com/getsentry/sentry-javascript/tree/fix/langchain-instrumentation-error-capture
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Aug 25, 2026https://github.com/getsentry/sentry-javascript/pull/23593#issue-5247398082
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/23593
#23024https://github.com/getsentry/sentry-javascript/pull/23024
#23023https://github.com/getsentry/sentry-javascript/issues/23023
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/23593
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Aug 25, 2026 https://github.com/getsentry/sentry-javascript/pull/23593#ref-pullrequest-5247441801
fix(server-utils): Don't capture caller-handled LangGraph errors #23594 https://github.com/getsentry/sentry-javascript/pull/23594
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 25, 2026https://github.com/getsentry/sentry-javascript/pull/23593#issuecomment-5412536669
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/23593
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/32951572964
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/23593
nicohrubechttps://github.com/nicohrubec
August 26, 2026 10:45https://github.com/getsentry/sentry-javascript/pull/23593#commits-pushed-39a73f1
https://github.com/nicohrubec
https://github.com/claude
fix(server-utils): Don't capture caller-handled LangChain errorshttps://github.com/getsentry/sentry-javascript/pull/23593/commits/39a73f154c776c507f7af127a8c8accb8915821f
39a73f1https://github.com/getsentry/sentry-javascript/pull/23593/commits/39a73f154c776c507f7af127a8c8accb8915821f
#23024https://github.com/getsentry/sentry-javascript/pull/23024
https://github.com/nicohrubec
https://github.com/claude
test(server-utils): Assert embeddings instrumentation rethrows withou…https://github.com/getsentry/sentry-javascript/pull/23593/commits/797b1664483fbf2e702562219345cbb8f55e4b49
797b166https://github.com/getsentry/sentry-javascript/pull/23593/commits/797b1664483fbf2e702562219345cbb8f55e4b49
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/a843a9fe131bd1586d04f4f24eb29432f33c4104..797b1664483fbf2e702562219345cbb8f55e4b49
a843a9fhttps://github.com/getsentry/sentry-javascript/commit/a843a9fe131bd1586d04f4f24eb29432f33c4104
797b166https://github.com/getsentry/sentry-javascript/commit/797b1664483fbf2e702562219345cbb8f55e4b49
Compare https://github.com/getsentry/sentry-javascript/compare/a843a9fe131bd1586d04f4f24eb29432f33c4104..797b1664483fbf2e702562219345cbb8f55e4b49
August 26, 2026 08:46https://github.com/getsentry/sentry-javascript/pull/23593#event-30031230032
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Aug 26, 2026 https://github.com/getsentry/sentry-javascript/pull/23593#pullrequestreview-5028466126
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/23593/files/797b1664483fbf2e702562219345cbb8f55e4b49
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/23593#pullrequestreview-5028466126
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo3MWJjMTNlNS0yYTIzLTRlNzctYTlhNS1hN2YyZTgxNjgwMmIiLCJlbmNyeXB0aW9uS2V5IjoiMElza0M0ZVI3eXVMRlRHRU1waGlqSjBsSGg1SzB1TDlxMUk1V1pTM3NnVSIsImJyYW5jaCI6ImZpeC9sYW5nY2hhaW4taW5zdHJ1bWVudGF0aW9uLWVycm9yLWNhcHR1cmUiLCJyZXBvT3duZXIiOiJnZXRzZW50cnkiLCJyZXBvTmFtZSI6InNlbnRyeS1qYXZhc2NyaXB0IiwicHJvdmlkZXIiOiJnaXRodWIifX0
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot
Cursor Bugbothttps://cursor.com/bugbot
797b166https://github.com/getsentry/sentry-javascript/commit/797b1664483fbf2e702562219345cbb8f55e4b49
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/23593
packages/server-utils/src/ai/langchain/embeddings.tshttps://github.com/getsentry/sentry-javascript/pull/23593/files/797b1664483fbf2e702562219345cbb8f55e4b49#diff-2dc625b966da9a605954b63cd8a1ec5d1946e6969b6181e50709a12b5969f5fe
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/23593
https://github.com/nicohrubec
https://github.com/claude
fix(server-utils): Stop capturing caller-handled errors in LangChain …https://github.com/getsentry/sentry-javascript/pull/23593/commits/5f0ccb272236ba3c5bdd05d4105517ff75ae9bda
5f0ccb2https://github.com/getsentry/sentry-javascript/pull/23593/commits/5f0ccb272236ba3c5bdd05d4105517ff75ae9bda
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
August 26, 2026 09:24https://github.com/getsentry/sentry-javascript/pull/23593#event-30033137965
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
code ownershttps://github.com/getsentry/sentry-javascript/blob/c159f0bd277fcc6a20da45f801931c591af52c1e/.github/CODEOWNERS#L23
August 26, 2026 09:24https://github.com/getsentry/sentry-javascript/pull/23593#event-30033138602
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
JPeer264https://github.com/JPeer264
andreiborzahttps://github.com/andreiborza
isaacshttps://github.com/isaacs
August 26, 2026 09:24https://github.com/getsentry/sentry-javascript/pull/23593#event-30033139037
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Aug 26, 2026 https://github.com/getsentry/sentry-javascript/pull/23593#pullrequestreview-5028808452
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/23593/files/5f0ccb272236ba3c5bdd05d4105517ff75ae9bda
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
3ff658ehttps://github.com/getsentry/sentry-javascript/commit/3ff658e1c0c8d9f32c1aa8af6aa521a082983ab4
Aug 26, 2026https://github.com/getsentry/sentry-javascript/pull/23593#event-30033759192
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/23593
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
August 26, 2026 09:36https://github.com/getsentry/sentry-javascript/pull/23593#event-30033761689
nicohrubechttps://github.com/nicohrubec
Aug 26, 2026 https://github.com/getsentry/sentry-javascript/pull/23593#ref-commit-e5ff527
https://github.com/nicohrubec
https://github.com/claude
fix(server-utils): Don't capture caller-handled LangGraph errors (https://github.com/getsentry/sentry-javascript/commit/e5ff527776858f31cad08ee5bd78c7a33473b29e
#23594https://github.com/getsentry/sentry-javascript/pull/23594
e5ff527https://github.com/getsentry/sentry-javascript/commit/e5ff527776858f31cad08ee5bd78c7a33473b29e
https://github.com/getsentry/sentry-javascript/pull/23594
#23024https://github.com/getsentry/sentry-javascript/pull/23024
#23593https://github.com/getsentry/sentry-javascript/pull/23593
#23023https://github.com/getsentry/sentry-javascript/issues/23023
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Aug 26, 2026 https://github.com/getsentry/sentry-javascript/pull/23593#ref-pullrequest-5255786447
fix(v10/core): Don't capture caller-handled LangChain errors #23640 https://github.com/getsentry/sentry-javascript/pull/23640
nicohrubechttps://github.com/nicohrubec
Aug 26, 2026 https://github.com/getsentry/sentry-javascript/pull/23593#ref-commit-b2ece76
https://github.com/nicohrubec
fix(v10/core): Don't capture caller-handled LangChain errors (https://github.com/getsentry/sentry-javascript/commit/b2ece76b5c1e1ce220d2ec8a0236e4e4198093cf
#23640https://github.com/getsentry/sentry-javascript/pull/23640
)https://github.com/getsentry/sentry-javascript/commit/b2ece76b5c1e1ce220d2ec8a0236e4e4198093cf
b2ece76https://github.com/getsentry/sentry-javascript/commit/b2ece76b5c1e1ce220d2ec8a0236e4e4198093cf
#23593https://github.com/getsentry/sentry-javascript/pull/23593
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%2F23593
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/23593/files/797b1664483fbf2e702562219345cbb8f55e4b49
https://github.com/andreiborza
andreiborza https://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/23593/files/5f0ccb272236ba3c5bdd05d4105517ff75ae9bda
https://github.com/isaacs
isaacs https://github.com/isaacs
https://github.com/JPeer264
JPeer264 https://github.com/JPeer264
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/23593
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/23593
https://github.com/nicohrubec
https://github.com/andreiborza
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.