There was an error while loading. Please reload this page.
1 parent 2ea5981 commit 1907807Copy full SHA for 1907807
1 file changed
native/WispAudioKit/Sources/WispAudioKit/WispSession.swift
@@ -223,7 +223,8 @@ public final class WispSession: @unchecked Sendable {
223
guard SpeechTranscriber.isAvailable else {
224
throw PoCError.speechTranscriberUnavailable
225
}
226
- guard let speechLocale = await SpeechTranscriber.supportedLocale(equivalentTo: locale) else {
+ guard let speechLocale = await SpeechTranscriber.supportedLocale(equivalentTo: locale)
227
+ else {
228
throw PoCError.unsupportedSpeechLocale(locale.identifier)
229
230
if speechLocale.identifier != locale.identifier {
0 commit comments