removing unwanted code

This commit is contained in:
Khan, Arshad 2021-08-03 18:06:21 +05:30
parent 7460f5b210
commit 590293754c

View File

@ -166,10 +166,9 @@ 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;
}