Merge branch 'bugfix/user_facing_error_msg' into 'release/10_4_0'

fix user facing error message for json errors

### Summary
Adjustment to JSONError to avoid displaying Swift Decoding errors to the user.

Co-authored-by: Kyle Matthew Hedden <kyle.hedden@verizonwireless.com>

See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core/-/merge_requests/237
This commit is contained in:
Pfeil, Scott Robert 2022-10-27 03:44:21 +00:00
commit a8b5db4d28

View File

@ -37,8 +37,9 @@ extension JSONError: LocalizedError, CustomStringConvertible {
} }
} }
// Shown to customers.
public var errorDescription: String? { public var errorDescription: String? {
return description return MVMCoreGetterUtility.hardcodedString(withKey: HardcodedErrorUnableToProcess)
} }
} }