diff --git a/packages/text-to-speech/src/realisticTextToSpeech.ts b/packages/text-to-speech/src/realisticTextToSpeech.ts index 051921327..9a14f36cd 100644 --- a/packages/text-to-speech/src/realisticTextToSpeech.ts +++ b/packages/text-to-speech/src/realisticTextToSpeech.ts @@ -54,8 +54,6 @@ export class RealisticTextToSpeech implements TextToSpeech { } const requestUrl = `${apiEndpoint}${voiceId}` - console.log('using voice id', voiceId, requestUrl) - const response = await axios.post( requestUrl, { @@ -68,6 +66,7 @@ export class RealisticTextToSpeech implements TextToSpeech { ) if (response.data.length === 0) { + console.log('No payload returned: ', response) throw new Error('No payload returned') }