Provide more details when VM's network attachment disconnects (#74)

This commit is contained in:
Nikolay Edigaryev
2022-05-16 08:23:34 -04:00
committed by GitHub
parent 7afa446a73
commit 3dfe8f870c
+1 -1
View File
@@ -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()
}
}