From 647bdb0d10c004656b3c8df9e84bc58d5bea868c Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Thu, 28 Jan 2021 15:03:45 +1100 Subject: [PATCH] Fix error copy --- SessionSnodeKit/OnionRequestAPI.swift | 8 ++++---- SessionSnodeKit/SnodeAPI.swift | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SessionSnodeKit/OnionRequestAPI.swift b/SessionSnodeKit/OnionRequestAPI.swift index b4d2afa61..2f9c09816 100644 --- a/SessionSnodeKit/OnionRequestAPI.swift +++ b/SessionSnodeKit/OnionRequestAPI.swift @@ -44,11 +44,11 @@ public enum OnionRequestAPI { public var errorDescription: String? { switch self { case .httpRequestFailedAtDestination(let statusCode, _): return "HTTP request failed at destination with status code: \(statusCode)." - case .insufficientSnodes: return "Couldn't find enough snodes to build a path." + case .insufficientSnodes: return "Couldn't find enough Service Nodes to build a path." case .invalidURL: return "Invalid URL" - case .missingSnodeVersion: return "Missing snode version." - case .snodePublicKeySetMissing: return "Missing snode public key set." - case .unsupportedSnodeVersion(let version): return "Unsupported snode version: \(version)." + case .missingSnodeVersion: return "Missing Service Node version." + case .snodePublicKeySetMissing: return "Missing Service Node public key set." + case .unsupportedSnodeVersion(let version): return "Unsupported Service Node version: \(version)." } } } diff --git a/SessionSnodeKit/SnodeAPI.swift b/SessionSnodeKit/SnodeAPI.swift index 894a5a5fc..c90685f4e 100644 --- a/SessionSnodeKit/SnodeAPI.swift +++ b/SessionSnodeKit/SnodeAPI.swift @@ -35,8 +35,8 @@ public final class SnodeAPI : NSObject { public var errorDescription: String? { switch self { case .generic: return "An error occurred." - case .clockOutOfSync: return "Your clock is out of sync with the service node network." - case .snodePoolUpdatingFailed: return "Failed to update random service node pool." + case .clockOutOfSync: return "Your clock is out of sync with the Service Node network. Please check that your device's clock is set to automatic time." + case .snodePoolUpdatingFailed: return "Failed to update the Service Node pool." } } }