From 9a75e5bdbeb90669f7e4d36154e94334de471dd3 Mon Sep 17 00:00:00 2001 From: Christopher Cooper Date: Wed, 13 Nov 2024 15:55:31 -0800 Subject: [PATCH] add assert details Co-authored-by: Zhanghao Wu --- sky/backends/cloud_vm_ray_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sky/backends/cloud_vm_ray_backend.py b/sky/backends/cloud_vm_ray_backend.py index 8b79bbcd1afb..bfa98e94bed4 100644 --- a/sky/backends/cloud_vm_ray_backend.py +++ b/sky/backends/cloud_vm_ray_backend.py @@ -2858,7 +2858,7 @@ def _provision( # We need to return the handle - but it should be the existing # handle for the cluster. record = global_user_state.get_cluster_from_name(cluster_name) - assert record is not None and record['handle'] is not None + assert record is not None and record['handle'] is not None, (cluster_name, record) return record['handle'] if 'provision_record' in config_dict: