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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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()
}