From d7b80e87edcfbab7692352c4b19b4307a11d5294 Mon Sep 17 00:00:00 2001 From: Kyle Matthew Hedden Date: Wed, 26 Oct 2022 20:44:18 -0400 Subject: [PATCH] fix user facing error message for json errors --- MVMCore/MVMCore/Models/JSON/JSONHelper.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/Models/JSON/JSONHelper.swift b/MVMCore/MVMCore/Models/JSON/JSONHelper.swift index 775048d..857310b 100644 --- a/MVMCore/MVMCore/Models/JSON/JSONHelper.swift +++ b/MVMCore/MVMCore/Models/JSON/JSONHelper.swift @@ -37,8 +37,9 @@ extension JSONError: LocalizedError, CustomStringConvertible { } } + // Shown to customers. public var errorDescription: String? { - return description + return MVMCoreGetterUtility.hardcodedString(withKey: HardcodedErrorUnableToProcess) } }