Skip to content

Commit 142f621

Browse files
DX-122122: drop redundant except* TokenExpiredError clause
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent efc4fa7 commit 142f621

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/stremable_http_cli.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,8 +648,6 @@ async def mcp_client_session(
648648
async with ClientSession(read_stream, write_stream) as session:
649649
await session.initialize()
650650
yield session
651-
except* TokenExpiredError:
652-
raise # already converted upstream — propagate as-is
653651
except* httpx.HTTPStatusError as eg:
654652
for exc in eg.exceptions:
655653
if exc.response.status_code == 401:

0 commit comments

Comments
 (0)