fix: use TTS_FAILURE alert type for synthAudio (#278)

Co-authored-by: Quan HL <quanluuhoang8@gmail.com>
This commit is contained in:
Hoan Luu HuuandQuan HL authored and GitHub committed 2023-03-08 07:42:06 -05:00
1 parent 2af76d94a6
commit 5ab24337b2
1 file changed
+1 -1
+1 -1
View File
@@ -143,7 +143,7 @@ class TaskSay extends Task {
span.end();
writeAlerts({
account_sid: cs.accountSid,
alert_type: AlertType.TTS_NOT_PROVISIONED,
alert_type: AlertType.TTS_FAILURE,
vendor,
detail: err.message
}).catch((err) => this.logger.info({err}, 'Error generating alert for tts failure'));