change mdn calculation
default errors not received from server
This commit is contained in:
parent
d1ea9518a0
commit
d3bf9481fc
@ -91,7 +91,9 @@
|
||||
NSString *type = [errorInfo string:KeyType];
|
||||
if (![ValueTypeSuccess isEqualToString:type]) {
|
||||
|
||||
MVMCoreErrorObject *error = [[MVMCoreErrorObject alloc] initWithTitle:[errorInfo stringForKey:KeyErrorHeading] message:[errorInfo stringForKey:KeyUserMessage] messageToLog:[errorInfo stringForKey:KeyMessage] code:errorCode domain:ErrorDomainServer location:location];
|
||||
NSString *title = [errorInfo string:KeyErrorHeading] ?: [MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorTitle];
|
||||
NSString *message = [errorInfo string:KeyUserMessage] ?: [MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorUnableToProcess];
|
||||
MVMCoreErrorObject *error = [[MVMCoreErrorObject alloc] initWithTitle:title message:message messageToLog:[errorInfo string:KeyMessage] code:errorCode domain:ErrorDomainServer location:location];
|
||||
if ([ValueTypeErrorScreen isEqualToString:type]) {
|
||||
|
||||
// If this is a server error screen, there should be no additional alerts... It will be handled by the load handler.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user