Rethrow AllTalk init error

This commit is contained in:
Cohee
2024-01-20 20:44:11 +02:00
parent 570d5a30bd
commit b2509f8de4

View File

@ -312,6 +312,7 @@ class AllTalkTtsProvider {
} catch (error) {
console.error('Error checking TTS service readiness:', error);
this.ready = false; // Ensure ready flag is set to false in case of error
throw error; // Rethrow the error for further handling
}
}