Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
modelcontextprotocol
/
python-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
3.8k
Star
24.1k
Code
Issues
206
Pull requests
192
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Log MCPServer handler exceptions by kind and keep crash details off the wire
- #3314
#3314
Merged
maxisbey
merged 9 commits into
main
modelcontextprotocol/python-sdk:main
from
mcpserver-handler-exception-logging
modelcontextprotocol/python-sdk:mcpserver-handler-exception-logging
Copy head branch name to clipboard
Aug 24, 2026
Conversation
Commits
9
(9)
Checks
Files changed
Merged
Log MCPServer handler exceptions by kind and keep crash details off the wire
#3314
maxisbey
merged 9 commits into
main
modelcontextprotocol/python-sdk:main
from
mcpserver-handler-exception-logging
modelcontextprotocol/python-sdk:mcpserver-handler-exception-logging
Copy head branch name to clipboard
Commits
Commits on Aug 20, 2026
Log MCPServer handler exceptions once, by kind
Show description for 2dff022
maxisbey
committed
2dff022
View commit details
Copy full SHA for 2dff022
Browse repository at this point
Inline handler logging and trim the docs
Show description for 7b0059c
maxisbey
committed
7b0059c
View commit details
Copy full SHA for 7b0059c
Browse repository at this point
Wrap crashing validators, treat ResourceError in a tool as anticipated
Show description for 4e0fc9e
maxisbey
committed
4e0fc9e
View commit details
Copy full SHA for 4e0fc9e
Browse repository at this point
remove previous exception interpolation from raised exception
Show description for 9adfe62
maxisbey
and
Kludex
committed
9adfe62
View commit details
Copy full SHA for 9adfe62
Browse repository at this point
Close the f-string in Prompt.render and pin the shorter message
Show description for 970fa74
maxisbey
committed
970fa74
View commit details
Copy full SHA for 970fa74
Browse repository at this point
Drop the migration.md addition; the guide is closed to new entries
Show description for 9e6d1d9
maxisbey
committed
9e6d1d9
View commit details
Copy full SHA for 9e6d1d9
Browse repository at this point
Keep unexpected exception text out of tool results
Show description for ab89da8
maxisbey
committed
ab89da8
View commit details
Copy full SHA for ab89da8
Browse repository at this point
Address review: repr rejected-argument names, guard the completion result, add call_fn
Show description for 02a2b92
maxisbey
committed
02a2b92
View commit details
Copy full SHA for 02a2b92
Browse repository at this point
Commits on Aug 21, 2026
Address review: keep three anticipated failures out of the crash path, docs sweep
Show description for ab24c34
maxisbey
committed
ab24c34
View commit details
Copy full SHA for ab24c34
Browse repository at this point
You can’t perform that action at this time.