Skip to content

Commit 0cb1f05

Browse files
sobyihrpr
andauthored
Update src/mcp/server/streamable_http_manager.py
Co-authored-by: Inna Harper <[email protected]>
1 parent ec245fd commit 0cb1f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server/streamable_http_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ async def run_stateless_server(*, task_status: TaskStatus[None] = anyio.TASK_STA
180180
stateless=True,
181181
)
182182
except Exception as e:
183-
logger.error(f"Stateless session crashed: {e}", exc_info=True)
183+
logger.exception("Stateless session crashed")
184184

185185
# Assert task group is not None for type checking
186186
assert self._task_group is not None

0 commit comments

Comments
 (0)