From 5e97847a2f4a35ad78c0e5bddedc62a121ae00bd Mon Sep 17 00:00:00 2001 From: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com> Date: Thu, 9 May 2024 17:15:57 +0700 Subject: [PATCH] fix fs keep looping forever if there is no fallback TTS (#749) --- lib/tasks/say.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/say.js b/lib/tasks/say.js index 2dd9b3bb..521ad502 100644 --- a/lib/tasks/say.js +++ b/lib/tasks/say.js @@ -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;