We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e5704c commit c9c0872Copy full SHA for c9c0872
src/mcp/client/streamable_http.py
@@ -466,9 +466,7 @@ async def _handle_reconnection(
466
"""
467
# Bail if max retries exceeded
468
if attempt >= MAX_RECONNECTION_ATTEMPTS:
469
- raise Exception(
470
- f"SSE stream reconnection failed after {MAX_RECONNECTION_ATTEMPTS} attempts"
471
- )
+ raise Exception(f"SSE stream reconnection failed after {MAX_RECONNECTION_ATTEMPTS} attempts")
472
473
# Always wait - use server value or default
474
delay_ms = retry_interval_ms if retry_interval_ms is not None else DEFAULT_RECONNECTION_DELAY_MS
0 commit comments