From 571d55aebd14cdbeb93b145b8617e9fbb59e0e22 Mon Sep 17 00:00:00 2001 From: Kyle Matthew Hedden Date: Tue, 30 Aug 2022 10:46:38 -0400 Subject: [PATCH] missing log error call --- MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.swift b/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.swift index ee7c1ef..dbc76ea 100644 --- a/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.swift +++ b/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.swift @@ -176,6 +176,7 @@ public protocol MVMCoreJSONActionHandlerProtocol: MVMCoreActionHandlerProtocol { switch error { case ModelRegistry.Error.decoderError, is DecodingError: MVMCoreLoggingHandler.shared()?.logCoreEvent(.actionFailedToDecode(pageType: pageType(from: delegateObject), error: error)) + logActionError(error, actionType, additionalData, delegateObject) case ModelRegistry.Error.decoderErrorModelNotMapped: // 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 {