@ -108,10 +108,8 @@ struct DebugSettingsView: View {
isSynchronizing = true
}
do {
try await StoreCenter.main.synchronizeLastUpdates()
} catch {
Logger.error(error)
let error = await StoreCenter.main.synchronizeLastUpdates()
if let error {
await MainActor.run {
errorMessage = error.localizedDescription
showingError = true
@ -21,7 +21,7 @@ struct SynchronizationTests {
@Test func synchronizationTest() async throws {
_ = try await self.login()
await StoreCenter.main.synchronizeLastUpdates()