diff --git a/AltStore/Server/ServerManager.swift b/AltStore/Server/ServerManager.swift index 8073f8a2..0d807aba 100644 --- a/AltStore/Server/ServerManager.swift +++ b/AltStore/Server/ServerManager.swift @@ -133,6 +133,10 @@ extension ServerManager let connection = NWConnection(to: .service(name: service.name, type: service.type, domain: service.domain, interface: nil), using: parameters) start(connection) } + else + { + finish(.failure(ALTServerError(.connectionFailed))) + } } } }