Title: fix: chain exceptions in get_prompt and read_resource handlers by blackwell-systems · Pull Request #2542 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: fix: chain exceptions in get_prompt and read_resource handlers by blackwell-systems · Pull Request #2542 · modelcontextprotocol/python-sdk
X Title: fix: chain exceptions in get_prompt and read_resource handlers by blackwell-systems · Pull Request #2542 · modelcontextprotocol/python-sdk
Description: The official Python SDK for Model Context Protocol servers and clients - fix: chain exceptions in get_prompt and read_resource handlers by blackwell-systems · Pull Request #2542 · modelcontextprotocol/python-sdk
Open Graph Description: Summary Two raise statements in server/mcpserver/server.py discard the causal exception chain: Line 1112: raise ValueError(str(e)) → raise ValueError(str(e)) from e Line 451: raise ResourceError(....
X Description: Summary Two raise statements in server/mcpserver/server.py discard the causal exception chain: Line 1112: raise ValueError(str(e)) → raise ValueError(str(e)) from e Line 451: raise ResourceError(....
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2542
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:836f2d63-8129-4ee2-0ab2-73788d92552a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9214:1F7BBA:1530A69:1CA8942:6A595CDE |
| html-safe-nonce | c2a19d8187698da5b2b3e9cea9048a705b1fc9e25c2326a3260afcf2bab1c48a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjE0OjFGN0JCQToxNTMwQTY5OjFDQTg5NDI6NkE1OTVDREUiLCJ2aXNpdG9yX2lkIjoiMTYyNTQ2MTI1MTQ3NTMzMjMxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c94e6f72f607bc25c720c10dbf51efd09d610b06c023d2242c40ecef38b4699c |
| hovercard-subject-tag | pull_request:3627773171 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2542/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/e87e313050fd9d4d4006bfdf83c94a794477903858db7321f55c6560ba0633b6/modelcontextprotocol/python-sdk/pull/2542 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e87e313050fd9d4d4006bfdf83c94a794477903858db7321f55c6560ba0633b6/modelcontextprotocol/python-sdk/pull/2542 |
| og:image:alt | Summary Two raise statements in server/mcpserver/server.py discard the causal exception chain: Line 1112: raise ValueError(str(e)) → raise ValueError(str(e)) from e Line 451: raise ResourceError(.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | blackwell-systems |
| hostname | github.com |
| expected-hostname | github.com |
| None | a540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5 |
| turbo-cache-control | no-cache |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f4669eb12cd81bf213b8907a42667725d1583c79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width