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:
|
if future is not None:
|
||||||
try:
|
try:
|
||||||
future.result(timeout=15)
|
future.result(timeout=15)
|
||||||
except Exception as exc:
|
except BaseException as exc:
|
||||||
logger.debug("Error during MCP shutdown: %s", exc)
|
logger.debug("Error during MCP shutdown: %s", exc)
|
||||||
|
|
||||||
_stop_mcp_loop()
|
_stop_mcp_loop()
|
||||||
|
|||||||
Reference in New Issue
Block a user