This commit is contained in:
Timothy Jaeryang Baek 2025-09-23 03:42:25 -04:00
parent 7aa3903b6b
commit f7b0fdde2a

View file

@ -199,9 +199,10 @@ async def verify_tool_servers_config(
except HTTPException as e:
raise e
except Exception as e:
log.debug(f"Failed to connect to the tool server: {e}")
raise HTTPException(
status_code=400,
detail=f"Failed to connect to the tool server: {str(e)}",
detail=f"Failed to connect to the tool server",
)