René's URL Explorer Experiment


Title: fix(agentgateway): log correlation-id on mcp tool call failure by Lothnic · Pull Request #196 · SAP/cloud-sdk-python · GitHub

Open Graph Title: fix(agentgateway): log correlation-id on mcp tool call failure by Lothnic · Pull Request #196 · SAP/cloud-sdk-python

X Title: fix(agentgateway): log correlation-id on mcp tool call failure by Lothnic · Pull Request #196 · SAP/cloud-sdk-python

Description: The SAP Cloud SDK for Python is the official Python client for SAP BTP services. It simplifies consuming SAP Cloud services through modular interfaces that handle authentication, secrets management, and configuration. Letting developers focus on building applications and agents quickly and easily. - fix(agentgateway): log correlation-id on mcp tool call failure by Lothnic · Pull Request #196 · SAP/cloud-sdk-python

Open Graph Description: Description Log the x-correlation-id from AGW response headers when an MCP tool call fails, so users can search AGW logs for debugging. The correlation-id is captured via httpx event hooks in both ...

X Description: Description Log the x-correlation-id from AGW response headers when an MCP tool call fails, so users can search AGW logs for debugging. The correlation-id is captured via httpx event hooks in both ...

Opengraph URL: https://github.com/SAP/cloud-sdk-python/pull/196

X: @github

direct link

Domain: github.com

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:3380efec-29b0-385d-59d5-5f77fae2dead
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAF1C:1EEA:198C694:246B768:6A4F7192
html-safe-nonced3376dcd74861ff332efa77c8a470a6b33a42b5ee74b0aab8ea285de46a123c8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjFDOjFFRUE6MTk4QzY5NDoyNDZCNzY4OjZBNEY3MTkyIiwidmlzaXRvcl9pZCI6IjY5NzYwOTI3MDI2NzQ0MTU1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac88c14aff498b7e44260dd8cf13867c4bb0fee308f33e5c8e484d5361f9edf5c9
hovercard-subject-tagpull_request:3977863462
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/SAP/cloud-sdk-python/196/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4c6f638a69a2389023f36992d034e11a9fda3db437308b1aae989483b4acf701/SAP/cloud-sdk-python/pull/196
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4c6f638a69a2389023f36992d034e11a9fda3db437308b1aae989483b4acf701/SAP/cloud-sdk-python/pull/196
og:image:altDescription Log the x-correlation-id from AGW response headers when an MCP tool call fails, so users can search AGW logs for debugging. The correlation-id is captured via httpx event hooks in both ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLothnic
hostnamegithub.com
expected-hostnamegithub.com
Noned203d420c90b868ac6f28f1f61ead0901d783f843a132ce79d2f81c9dfc2de05
turbo-cache-controlno-cache
go-importgithub.com/SAP/cloud-sdk-python git https://github.com/SAP/cloud-sdk-python.git
octolytics-dimension-user_id2531208
octolytics-dimension-user_loginSAP
octolytics-dimension-repository_id1187276298
octolytics-dimension-repository_nwoSAP/cloud-sdk-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1187276298
octolytics-dimension-repository_network_root_nwoSAP/cloud-sdk-python
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
released2ecfd35c2fb90a40f6ec657307b2f47245b199b
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/SAP/cloud-sdk-python/pull/196#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSAP%2Fcloud-sdk-python%2Fpull%2F196
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSAP%2Fcloud-sdk-python%2Fpull%2F196
Sign up https://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=SAP%2Fcloud-sdk-python
Reloadhttps://github.com/SAP/cloud-sdk-python/pull/196
Reloadhttps://github.com/SAP/cloud-sdk-python/pull/196
Reloadhttps://github.com/SAP/cloud-sdk-python/pull/196
Please reload this pagehttps://github.com/SAP/cloud-sdk-python/pull/196
SAP https://github.com/SAP
cloud-sdk-pythonhttps://github.com/SAP/cloud-sdk-python
Notifications https://github.com/login?return_to=%2FSAP%2Fcloud-sdk-python
Fork 33 https://github.com/login?return_to=%2FSAP%2Fcloud-sdk-python
Star 18 https://github.com/login?return_to=%2FSAP%2Fcloud-sdk-python
Code https://github.com/SAP/cloud-sdk-python
Issues 6 https://github.com/SAP/cloud-sdk-python/issues
Pull requests 16 https://github.com/SAP/cloud-sdk-python/pulls
Actions https://github.com/SAP/cloud-sdk-python/actions
Projects https://github.com/SAP/cloud-sdk-python/projects
Security and quality 0 https://github.com/SAP/cloud-sdk-python/security
Insights https://github.com/SAP/cloud-sdk-python/pulse
Code https://github.com/SAP/cloud-sdk-python
Issues https://github.com/SAP/cloud-sdk-python/issues
Pull requests https://github.com/SAP/cloud-sdk-python/pulls
Actions https://github.com/SAP/cloud-sdk-python/actions
Projects https://github.com/SAP/cloud-sdk-python/projects
Security and quality https://github.com/SAP/cloud-sdk-python/security
Insights https://github.com/SAP/cloud-sdk-python/pulse
Lothnichttps://github.com/Lothnic
SAP:mainhttps://github.com/SAP/cloud-sdk-python/tree/main
Lothnic:mainhttps://github.com/Lothnic/cloud-sdk-python/tree/main
Conversationhttps://github.com/SAP/cloud-sdk-python/pull/196
Commits2 (2)https://github.com/SAP/cloud-sdk-python/pull/196/commits
Checkshttps://github.com/SAP/cloud-sdk-python/pull/196/checks
Files changedhttps://github.com/SAP/cloud-sdk-python/pull/196/files
fix(agentgateway): log correlation-id on mcp tool call failurehttps://github.com/SAP/cloud-sdk-python/pull/196#top
Lothnichttps://github.com/Lothnic
SAP:mainhttps://github.com/SAP/cloud-sdk-python/tree/main
Lothnic:mainhttps://github.com/Lothnic/cloud-sdk-python/tree/main
https://github.com/Lothnic
Lothnichttps://github.com/Lothnic
Jul 2, 2026https://github.com/SAP/cloud-sdk-python/pull/196#issue-4793982500
#195https://github.com/SAP/cloud-sdk-python/issues/195
Link to the issuehttps://github.com/SAP/cloud-sdk-python/issues/195
Contributing Guidelineshttps://github.com/SAP/cloud-sdk-python/CONTRIBUTING.md
Code Guidelineshttps://github.com/SAP/cloud-sdk-python/docs/GUIDELINES.md
Conventional Commitshttps://www.conventionalcommits.org/
Please reload this pagehttps://github.com/SAP/cloud-sdk-python/pull/196
https://github.com/Lothnic
fix(agentgateway): log correlation-id on mcp tool call failurehttps://github.com/SAP/cloud-sdk-python/pull/196/commits/eadcade73b51a2a83210233187ed4f061e0221e4
eadcadehttps://github.com/SAP/cloud-sdk-python/pull/196/commits/eadcade73b51a2a83210233187ed4f061e0221e4
https://github.com/Lothnic
Lothnichttps://github.com/Lothnic
code ownerhttps://github.com/SAP/cloud-sdk-python/blob/6c042e12fb3b4a28c555408ff6769879d1703945/.github/CODEOWNERS#L1
July 2, 2026 11:35https://github.com/SAP/cloud-sdk-python/pull/196#event-27476190093
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
July 2, 2026 11:35https://github.com/SAP/cloud-sdk-python/pull/196#event-27476190153
https://github.com/apps/cla-assistant
cla-assistanthttps://github.com/apps/cla-assistant
Jul 2, 2026https://github.com/SAP/cloud-sdk-python/pull/196#issuecomment-4865244411
Please reload this pagehttps://github.com/SAP/cloud-sdk-python/pull/196
https://cla-assistant.io/SAP/cloud-sdk-python?pullRequest=196
Please reload this pagehttps://github.com/SAP/cloud-sdk-python/pull/196
started reviewinghttps://github.com/SAP/cloud-sdk-python/sessions/ed65b07c-323a-4399-a662-2ed0efd55c6d
Lothnichttps://github.com/Lothnic
July 2, 2026 11:35https://github.com/SAP/cloud-sdk-python/pull/196#event-27476205318
View session https://github.com/SAP/cloud-sdk-python/sessions/ed65b07c-323a-4399-a662-2ed0efd55c6d
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jul 2, 2026 https://github.com/SAP/cloud-sdk-python/pull/196#pullrequestreview-4617067377
View reviewed changes https://github.com/SAP/cloud-sdk-python/pull/196/files/eadcade73b51a2a83210233187ed4f061e0221e4
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/SAP/cloud-sdk-python/pull/196#pullrequestreview-4617067377
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/SAP/cloud-sdk-python/new/main?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/SAP/cloud-sdk-python/pull/196
src/sap_cloud_sdk/agentgateway/_lob.pyhttps://github.com/SAP/cloud-sdk-python/pull/196/files/eadcade73b51a2a83210233187ed4f061e0221e4#diff-4627d734fbd97b72d84d358c3aeaf525b32f5f283b0fc1f214fa1a5e217c8df6
src/sap_cloud_sdk/agentgateway/_lob.pyhttps://github.com/SAP/cloud-sdk-python/pull/196/files/eadcade73b51a2a83210233187ed4f061e0221e4#diff-4627d734fbd97b72d84d358c3aeaf525b32f5f283b0fc1f214fa1a5e217c8df6
src/sap_cloud_sdk/agentgateway/_lob.pyhttps://github.com/SAP/cloud-sdk-python/pull/196/files/eadcade73b51a2a83210233187ed4f061e0221e4#diff-4627d734fbd97b72d84d358c3aeaf525b32f5f283b0fc1f214fa1a5e217c8df6
src/sap_cloud_sdk/agentgateway/_customer.pyhttps://github.com/SAP/cloud-sdk-python/pull/196/files/eadcade73b51a2a83210233187ed4f061e0221e4#diff-2eb71e50b98d7c4e402175ee3df06fd4b1b24c2f91a083b1208d8655b967f497
src/sap_cloud_sdk/agentgateway/_customer.pyhttps://github.com/SAP/cloud-sdk-python/pull/196/files/eadcade73b51a2a83210233187ed4f061e0221e4#diff-2eb71e50b98d7c4e402175ee3df06fd4b1b24c2f91a083b1208d8655b967f497
Please reload this pagehttps://github.com/SAP/cloud-sdk-python/pull/196
src/sap_cloud_sdk/agentgateway/_customer.pyhttps://github.com/SAP/cloud-sdk-python/pull/196/files/eadcade73b51a2a83210233187ed4f061e0221e4#diff-2eb71e50b98d7c4e402175ee3df06fd4b1b24c2f91a083b1208d8655b967f497
https://github.com/Lothnic
https://github.com/apps/copilot-pull-request-reviewer
Using logger.exception(...) to preserve the correlation-id message …https://github.com/SAP/cloud-sdk-python/pull/196/commits/92e5c6681202524a3eb6901081b9c260b7550682
92e5c66https://github.com/SAP/cloud-sdk-python/pull/196/commits/92e5c6681202524a3eb6901081b9c260b7550682
tiagoekhttps://github.com/tiagoek
Jul 6, 2026 https://github.com/SAP/cloud-sdk-python/pull/196#ref-commit-025d15b
https://github.com/tiagoek
feat(sdk-review): add automated PR review skill (AFSDK-3937)https://github.com/SAP/cloud-sdk-python/commit/025d15b8ccec69b8096e5731926a689bf5504956
025d15bhttps://github.com/SAP/cloud-sdk-python/commit/025d15b8ccec69b8096e5731926a689bf5504956
#196https://github.com/SAP/cloud-sdk-python/pull/196
#191https://github.com/SAP/cloud-sdk-python/pull/191
#192https://github.com/SAP/cloud-sdk-python/pull/192
#185https://github.com/SAP/cloud-sdk-python/pull/185
https://jira.tools.sap/browse/AFSDK-3937https://jira.tools.sap/browse/AFSDK-3937
https://github.co/hiddenchars
https://github.com/SAP/cloud-sdk-python/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%2FSAP%2Fcloud-sdk-python%2Fpull%2F196
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
https://github.com/SAP/cloud-sdk-python/pull/196/files/eadcade73b51a2a83210233187ed4f061e0221e4
Print out correlation-id if mcp tool call failed https://github.com/SAP/cloud-sdk-python/issues/195
Please reload this pagehttps://github.com/SAP/cloud-sdk-python/pull/196
https://github.com/Lothnic
https://github.com/apps/copilot-pull-request-reviewer
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

Viewport: width=device-width


URLs of crawlers that visited me.