fix(mcp): widen shutdown_mcp_servers exception guard to BaseException
This commit is contained in:
@ -3800,7 +3800,7 @@ def shutdown_mcp_servers():
|
||||
if future is not None:
|
||||
try:
|
||||
future.result(timeout=15)
|
||||
except Exception as exc:
|
||||
except BaseException as exc:
|
||||
logger.debug("Error during MCP shutdown: %s", exc)
|
||||
|
||||
_stop_mcp_loop()
|
||||
|
||||
Reference in New Issue
Block a user