diff --git a/hypha/utils/__init__.py b/hypha/utils/__init__.py index ef3e1bb0..670ca0be 100644 --- a/hypha/utils/__init__.py +++ b/hypha/utils/__init__.py @@ -487,13 +487,10 @@ async def launch_external_services( async def ready_function(p): if check_services: for service_id in check_services: - try: - await server.get_service( - {"id": service_id, "workspace": server.config["workspace"]} - ) - except Exception as e: - if logger: - logger.info(f"Service {service_id} not ready: {e}") + svc = await server.get_service( + {"id": service_id, "workspace": server.config["workspace"]} + ) + if not svc: return False return True if check_url: