VZVirtualMachineDelegate implementation: show the error details (#330)

This commit is contained in:
Nikolay Edigaryev
2022-11-18 18:51:26 +04:00
committed by GitHub
parent 3896728eb9
commit c09cbefdd0
+1 -1
View File
@@ -322,7 +322,7 @@ class VM: NSObject, VZVirtualMachineDelegate, ObservableObject {
}
func virtualMachine(_ virtualMachine: VZVirtualMachine, didStopWithError error: Error) {
print("guest has stopped the virtual machine due to error")
print("guest has stopped the virtual machine due to error: \(error)")
sema.signal()
}