From 5f77fd1273075709ad415edf4341753600a4089a Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 12 Mar 2026 21:47:38 -0700 Subject: [PATCH] Add logging for articlesZone.fetchChangesInZone. --- .../Account/CloudKit/CloudKitAccountDelegate.swift | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Modules/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift b/Modules/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift index cfbb141a9..f35f55c7e 100644 --- a/Modules/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift +++ b/Modules/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift @@ -690,7 +690,14 @@ private extension CloudKitAccountDelegate { syncProgress.completeTask() try await sendArticleStatus(account: account, showProgress: true) - try? await articlesZone.fetchChangesInZone() + do { + try await articlesZone.fetchChangesInZone() + } catch { + Self.logger.error("CloudKitAccountDelegate: fetchChangesInZone error: \(error.localizedDescription)") + if let account = self.account { + postSyncError(error, account: account, operation: "Fetching zone changes") + } + } } catch { Self.logger.error("CloudKitAccountDelegate: \(#function, privacy: .public) error: \(error.localizedDescription)") }