missing log error call
This commit is contained in:
parent
068714a001
commit
571d55aebd
@ -176,6 +176,7 @@ public protocol MVMCoreJSONActionHandlerProtocol: MVMCoreActionHandlerProtocol {
|
|||||||
switch error {
|
switch error {
|
||||||
case ModelRegistry.Error.decoderError, is DecodingError:
|
case ModelRegistry.Error.decoderError, is DecodingError:
|
||||||
MVMCoreLoggingHandler.shared()?.logCoreEvent(.actionFailedToDecode(pageType: pageType(from: delegateObject), error: error))
|
MVMCoreLoggingHandler.shared()?.logCoreEvent(.actionFailedToDecode(pageType: pageType(from: delegateObject), error: error))
|
||||||
|
logActionError(error, actionType, additionalData, delegateObject)
|
||||||
case ModelRegistry.Error.decoderErrorModelNotMapped:
|
case ModelRegistry.Error.decoderErrorModelNotMapped:
|
||||||
// If the model is not mapped, give the legacy classes a chance to handle it.
|
// If the model is not mapped, give the legacy classes a chance to handle it.
|
||||||
if try await handleUnregisteredAction(with: nil, json: json!, additionalData: additionalData, delegateObject: delegateObject) == false {
|
if try await handleUnregisteredAction(with: nil, json: json!, additionalData: additionalData, delegateObject: delegateObject) == false {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user