Skip to content

Commit 3c6b258

Browse files
authored
Apply suggestion from @Kludex
1 parent 1e3e62f commit 3c6b258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ from mcp.shared.exceptions import McpError
133133
try:
134134
result = await session.call_tool("my_tool")
135135
except McpError as e:
136-
print(f"Error: {e.message}")
136+
print(f"Error: {e.error.message}")
137137
```
138138

139139
**After (v2):**

0 commit comments

Comments
 (0)