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:
commit
a8b5db4d28
@ -37,8 +37,9 @@ extension JSONError: LocalizedError, CustomStringConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
// Shown to customers.
|
||||
public var errorDescription: String? {
|
||||
return description
|
||||
return MVMCoreGetterUtility.hardcodedString(withKey: HardcodedErrorUnableToProcess)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user