Skip to content

Commit

Permalink
add assert details
Browse files Browse the repository at this point in the history
Co-authored-by: Zhanghao Wu <[email protected]>
  • Loading branch information
cg505 and Michaelvll authored Nov 13, 2024
1 parent 1b020cc commit 9a75e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/backends/cloud_vm_ray_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9a75e5b

Please sign in to comment.