Skip to content

Commit 8a5965f

Browse files
tlgimenesclaude
andcommitted
fix(vm): log vm.delete() errors instead of swallowing them
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1164bb1 commit 8a5965f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

apps/mesh/src/tools/vm/stop.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ export const VM_DELETE = defineTool({
6161
// Fire-and-forget: VM destruction can be slow and the caller doesn't need to wait.
6262
if (entry) {
6363
const vm = freestyle.vms.ref({ vmId: entry.vmId });
64-
vm.delete().catch(() => {
65-
// VM may already be deleted — ignore errors
66-
});
64+
vm.delete().catch(console.error);
6765
}
6866

6967
return { success: true };

0 commit comments

Comments
 (0)