diff --git a/AltStore/Operations/OperationContexts.swift b/AltStore/Operations/OperationContexts.swift index e60178b3..48e1741c 100644 --- a/AltStore/Operations/OperationContexts.swift +++ b/AltStore/Operations/OperationContexts.swift @@ -75,6 +75,13 @@ class AppOperationContext } set { _error = newValue + + if self.authenticatedContext.error == nil + { + // Assign newValue to authenticatedContext.error if the latter is nil. + // This fixes some operations continuing even after an error has occured. + self.authenticatedContext.error = newValue + } } } private var _error: Error?