diff --git a/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift b/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift index 59f2ddd2e..3ae9cb834 100644 --- a/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift +++ b/Frameworks/Account/CloudKit/CloudKitAccountDelegate.swift @@ -632,9 +632,9 @@ private extension CloudKitAccountDelegate { } } - case .failure(let error): + case .failure: self.refreshProgress.clear() - completion(.failure(error)) + completion(.failure(AccountError.createErrorNotFound)) } } } diff --git a/Frameworks/Account/LocalAccount/LocalAccountDelegate.swift b/Frameworks/Account/LocalAccount/LocalAccountDelegate.swift index 7d2fb57f6..d82d3d9e6 100644 --- a/Frameworks/Account/LocalAccount/LocalAccountDelegate.swift +++ b/Frameworks/Account/LocalAccount/LocalAccountDelegate.swift @@ -272,13 +272,15 @@ private extension LocalAccountDelegate { account.update(urlString, with: parsedItems) { _ in completion(.success(feed)) } - case .failure: - completion(.failure(AccountError.createErrorNotFound)) + case .failure(let error): + self.refreshProgress.clear() + completion(.failure(error)) } } - case .failure(let error): - completion(.failure(error)) + case .failure: + self.refreshProgress.clear() + completion(.failure(AccountError.createErrorNotFound)) } } }