Don't throw error if no Page and response info is success
This commit is contained in:
parent
146e44a905
commit
64c0539cec
@ -485,10 +485,7 @@
|
||||
|
||||
// If the server told us there is an error screen but did not provide the page, show a critical error and log so we can have them fix it.
|
||||
if (error.errorScreenError && !error.nativeDrivenErrorScreen && loadObject.pageType.length == 0) {
|
||||
error.logError = YES;
|
||||
error.errorScreenError = NO;
|
||||
error.location = [NSString stringWithFormat:@"%li-%@",(long)ErrorCodeNoErrorPageSent,error.location];
|
||||
[MVMCoreLoadRequestOperation handleError:error loadObject:loadObject showAlertForErrorIfApplicable:YES];
|
||||
// do not throw error if Page is not present in response
|
||||
[MVMCoreLoadRequestOperation loadFinished:loadObject loadedViewController:nil errorObject:error];
|
||||
} else {
|
||||
// No screen to load, finish the load.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user