From 98f55d4bc581b862d150e6421f417d8906292bcc Mon Sep 17 00:00:00 2001 From: Scott Pfeil Date: Wed, 31 Jan 2024 09:18:36 -0500 Subject: [PATCH] add missing error screen --- MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m index 382c5ca..61d4f84 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m @@ -766,6 +766,9 @@ error = [[MVMCoreLoadHandler sharedGlobal] errorForLoadObject:loadObject withTitle:[MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorTitle] message:[MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorCritical] code:ErrorCodeInitViewController domain:ErrorDomainNative]; } + if (error) { + error = [[MVMCoreLoadHandler sharedGlobal] attachLoadInformation:loadObject toError:error]; + } [MVMCoreLoadRequestOperation handleShouldContinue:shouldContinue error:error loadObject:loadObject errorBlock:NULL continueBlock:^{ completionHandler(viewController,loadObject); }];