From b9b2afa2003d56c6aaf8e648ff636a1bac8e5dc3 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Fri, 15 May 2020 10:55:18 -0700 Subject: [PATCH] Replaces ConnectionError.errorDescription with .failureReason Improves error messages where ConnectionError was the underlying failure, but not the main error. --- AltStore/Server/Server.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AltStore/Server/Server.swift b/AltStore/Server/Server.swift index 568d091d..76af2427 100644 --- a/AltStore/Server/Server.swift +++ b/AltStore/Server/Server.swift @@ -32,7 +32,7 @@ enum ConnectionError: LocalizedError case connectionFailed case connectionDropped - var errorDescription: String? { + var failureReason: String? { switch self { case .serverNotFound: return NSLocalizedString("Could not find AltServer.", comment: "")