Skip to content

Commit 4d752a8

Browse files
Update src/dstack/_internal/core/backends/verda/compute.py
Co-authored-by: jvstme <36324149+jvstme@users.noreply.github.com>
1 parent e435378 commit 4d752a8

File tree

1 file changed

+2
-4
lines changed
  • src/dstack/_internal/core/backends/verda

1 file changed

+2
-4
lines changed

src/dstack/_internal/core/backends/verda/compute.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,18 +155,16 @@ def create_instance(
155155
try:
156156
_delete_startup_script(self.client, startup_script_id)
157157
except Exception:
158-
logger.warning(
158+
logger.exception(
159159
"Failed to cleanup startup script %s after provisioning failure.",
160160
startup_script_id,
161-
exc_info=True,
162161
)
163162
try:
164163
_delete_ssh_keys(self.client, ssh_ids)
165164
except Exception:
166-
logger.warning(
165+
logger.exception(
167166
"Failed to cleanup ssh keys %s after provisioning failure.",
168167
ssh_ids,
169-
exc_info=True,
170168
)
171169
raise
172170
return JobProvisioningData(

0 commit comments

Comments
 (0)