Skip to content

Commit e05fff8

Browse files
forward kwargs
1 parent 93ea189 commit e05fff8

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
@@ -851,7 +851,7 @@ async def wrapper(*args: "Any") -> "Any":
851851
return await _tool_handler_wrapper(func, args, force_await=False)
852852

853853
# Then register it with the original MCP decorator
854-
return original_call_tool(self)(wrapper)
854+
return original_call_tool(self, **kwargs)(wrapper)
855855

856856
return instrumented_decorator
857857

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)