fix the creds test and return correct error (#420)

This commit is contained in:
Sam Machin
2025-04-22 12:38:54 +01:00
committed by GitHub
parent 956da4334f
commit 06873186ac

View File

@@ -362,14 +362,14 @@ const testRimelabs = async(logger, synthAudio, credentials) => {
{
vendor: 'rimelabs',
credentials,
language: 'en-US',
language: 'eng',
voice: 'amber',
text: 'Hi there and welcome to jambones!',
renderForCaching: true
}
);
} catch (err) {
logger.info({err}, 'synth Playht returned error');
logger.info({err}, 'synth rimelabs returned error');
throw err;
}
};