MVAPCT-273

This commit is contained in:
Phiroz, Danish 2024-09-19 12:30:48 +00:00 committed by Hedden, Kyle Matthew
parent 3c8af09752
commit cf3d7810d4
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ public protocol MVMCoreJSONActionHandlerProtocol: MVMCoreActionHandlerProtocol {
errorObject.requestUrl = browserUrl errorObject.requestUrl = browserUrl
} }
if let humanReadableMessage = (error as? HumanReadableDecodingErrorProtocol)?.readableDescription { if let humanReadableMessage = (error as? HumanReadableDecodingErrorProtocol)?.readableDescription {
errorObject.messageToLog = humanReadableMessage errorObject.messageToLog = "Failed to decode the \(actionType ?? "") action model. " + humanReadableMessage
} }
defaultHandleActionError(errorObject, additionalData: additionalData) defaultHandleActionError(errorObject, additionalData: additionalData)
} }