From 3dfe8f870c776e78ae923729ede0e2966b573092 Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Mon, 16 May 2022 15:23:34 +0300 Subject: [PATCH] Provide more details when VM's network attachment disconnects (#74) --- Sources/tart/VM.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/tart/VM.swift b/Sources/tart/VM.swift index e1423ef..5d88d40 100644 --- a/Sources/tart/VM.swift +++ b/Sources/tart/VM.swift @@ -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() } }