Skip to content

Commit 7b03ff3

Browse files
Merge branch 'webb/mcp/seperate-handlers' into webb/mcp/use-middleware
2 parents 678ec71 + e05fff8 commit 7b03ff3

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

sentry_sdk/integrations/mcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ async def wrapper(*args: "Any") -> "Any":
821821
return await _tool_handler_wrapper(func, args, force_await=False)
822822

823823
# Then register it with the original MCP decorator
824-
return original_call_tool(self)(wrapper)
824+
return original_call_tool(self, **kwargs)(wrapper)
825825

826826
return instrumented_decorator
827827

uv.lock

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)