Skip to content

Commit

Permalink
More detailed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Jul 1, 2024
1 parent 4a7e0f9 commit 1bd73dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/provision/azure/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def _get_vm_status(compute_client: 'azure_compute.ComputeManagementClient',
# skip provisioning status
if code == 'PowerState':
return state
raise ValueError(f'Failed to get status for VM {vm_name}')
raise ValueError(f'Failed to get power state for VM {vm_name}: {instance}')


def _filter_instances(
Expand Down

0 comments on commit 1bd73dd

Please sign in to comment.