From 3995aef6ba224ad909389312537fa56a575e7408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Kwa=C5=9Bniewski?= Date: Mon, 30 Oct 2023 22:27:54 +0100 Subject: [PATCH] fix: correctly show errors when launching devices (#87) --- MiniSim/Service/DeviceService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiniSim/Service/DeviceService.swift b/MiniSim/Service/DeviceService.swift index 976f138..fb36a4c 100644 --- a/MiniSim/Service/DeviceService.swift +++ b/MiniSim/Service/DeviceService.swift @@ -201,7 +201,7 @@ class DeviceService: DeviceServiceProtocol { } } catch { - guard error.localizedDescription.contains(deviceBootedError) else { + if error.localizedDescription.contains(deviceBootedError) { return } completionQueue.async {