Skip to content

Commit

Permalink
Provide more details when VM's network attachment disconnects (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev authored May 16, 2022
1 parent 7afa446 commit 3dfe8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/tart/VM.swift
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class VM: NSObject, VZVirtualMachineDelegate, ObservableObject {
}

func virtualMachine(_ virtualMachine: VZVirtualMachine, networkDevice: VZNetworkDevice, attachmentWasDisconnectedWithError error: Error) {
print("virtual machine's network attachment has been disconnected")
print("virtual machine's network attachment \(networkDevice) has been disconnected with error: \(error)")
sema.signal()
}
}

0 comments on commit 3dfe8f8

Please sign in to comment.