Skip to content

Commit a34ce9d

Browse files
isolation scope instead of current scope
1 parent 4c49c1a commit a34ce9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/integrations/mcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ async def patched_handle_request(
661661
self, scope: "Scope", receive: "Receive", send: "Send"
662662
) -> None:
663663
scope.setdefault("state", {})["sentry_sdk.isolation_scope"] = (
664-
sentry_sdk.get_current_scope()
664+
sentry_sdk.get_isolation_scope()
665665
)
666666
scope.setdefault("state", {})["sentry_sdk.current_scope"] = (
667667
sentry_sdk.get_current_scope()

0 commit comments

Comments
 (0)