mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
fix fs keep looping forever if there is no fallback TTS (#749)
This commit is contained in:
@@ -329,10 +329,10 @@ class TaskSay extends TtsTask {
|
||||
} catch (err) {
|
||||
try {
|
||||
await startFallback(err);
|
||||
continue;
|
||||
} catch (err) {
|
||||
this.logger.info({err}, 'Error waiting for playback-stop event');
|
||||
}
|
||||
continue;
|
||||
} finally {
|
||||
this._playPromise = null;
|
||||
this._playResolve = null;
|
||||
|
||||
Reference in New Issue
Block a user