Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

fix: surface unreadable meeting catalog failures

Alex Efremov07d01114dfa4
diff --git a/Sources/Fluid/Services/Meeting/MeetingSessionStore.swift b/Sources/Fluid/Services/Meeting/MeetingSessionStore.swift
index 2e70b5f1..924fd66d 100644
--- a/Sources/Fluid/Services/Meeting/MeetingSessionStore.swift
+++ b/Sources/Fluid/Services/Meeting/MeetingSessionStore.swift
@@ -149,18 +149,22 @@ actor MeetingSessionStore: MeetingSessionStoring {
let allIDs = Array(Set(indexedIDs).union(discoveredIDs))
var sessions: [MeetingSession] = []
+ var firstLoadError: Error?
sessions.reserveCapacity(allIDs.count)
for id in allIDs {
do {
let session = try reconcileAudio ? self.load(id: id) : self.readTranscript(id: id)
if let session { sessions.append(session) }
} catch {
+ if firstLoadError == nil { firstLoadError = error }
DebugLogger.shared.error(
"Failed to load meeting session \(id): \(error.localizedDescription)",
source: "MeetingSessionStore"
)
}
}
+ // Keep partial results, but do not replace history with an empty catalog after a read failure.
+ if sessions.isEmpty, let firstLoadError { throw firstLoadError }
return sessions.sorted { $0.startedAt > $1.startedAt }
}