From b3c0673c834dfdd1f8b6a26b4a8f9c6303a9d0d0 Mon Sep 17 00:00:00 2001 From: "Khan, Arshad" Date: Tue, 3 Aug 2021 15:18:32 +0530 Subject: [PATCH] no page error fix --- MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.m b/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.m index 4f307f5..ebaf52a 100644 --- a/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.m +++ b/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.m @@ -166,9 +166,10 @@ NSString * const KeyActionTypeOpen = @"openPage"; NSString *pageType = [actionInformation stringForKey:KeyPageType]; if (pageType.length == 0) { + MVMCoreLog(@"handling no page Error gracefully3"); // No page type to load, show error. - MVMCoreErrorObject *error = [[MVMCoreErrorObject alloc] initWithTitle:[MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorTitle] message:[MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorUnableToProcess] code:ErrorCodeNoPageType domain:ErrorDomainNative location:[NSString stringWithFormat:@"%@_%@",NSStringFromClass([delegateObject.actionDelegate class]),KeyActionTypeOpen]]; - [self handleActionError:error actionInformation:actionInformation additionalData:additionalData delegateObject:delegateObject]; +// MVMCoreErrorObject *error = [[MVMCoreErrorObject alloc] initWithTitle:[MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorTitle] message:[MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorUnableToProcess] code:ErrorCodeNoPageType domain:ErrorDomainNative location:[NSString stringWithFormat:@"%@_%@",NSStringFromClass([delegateObject.actionDelegate class]),KeyActionTypeOpen]]; +// [self handleActionError:error actionInformation:actionInformation additionalData:additionalData delegateObject:delegateObject]; return; }