From 6e6bc721bdc75ec480f1b870df6f4e899a65db10 Mon Sep 17 00:00:00 2001 From: Danish Phiroz Date: Wed, 18 Sep 2024 18:48:03 -0400 Subject: [PATCH] PR Review comments fixed for Error Log message. --- MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.swift b/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.swift index 948aaed..0c4a80b 100644 --- a/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.swift +++ b/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.swift @@ -158,7 +158,7 @@ public protocol MVMCoreJSONActionHandlerProtocol: MVMCoreActionHandlerProtocol { errorObject.requestUrl = browserUrl } if let humanReadableMessage = (error as? HumanReadableDecodingErrorProtocol)?.readableDescription { - errorObject.messageToLog = "Failed to decode the \(actionType ?? "actions") model. " + humanReadableMessage + errorObject.messageToLog = "Failed to decode the \(actionType ?? "") action model. " + humanReadableMessage } defaultHandleActionError(errorObject, additionalData: additionalData) }