Action decoding failed
This commit is contained in:
parent
3c8af09752
commit
4dcc7f8d5d
@ -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 ?? "actions") model." + humanReadableMessage
|
||||||
}
|
}
|
||||||
defaultHandleActionError(errorObject, additionalData: additionalData)
|
defaultHandleActionError(errorObject, additionalData: additionalData)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user