diff --git a/src/tts/tts-core.ts b/src/tts/tts-core.ts index 4472b1e38af..a21964a46cc 100644 --- a/src/tts/tts-core.ts +++ b/src/tts/tts-core.ts @@ -705,7 +705,7 @@ export async function edgeTTS(params: { const { text, outputPath, config, timeoutMs } = params; if (!text || text.trim().length === 0) { - throw new Error("TTS text cannot be empty"); + throw new Error("Edge TTS requires non-empty text"); } const tts = new EdgeTTS({