diff --git a/tts/tts-iflytek/src/main/java/com/mogo/tts/iflytek/IFlyTekTts.kt b/tts/tts-iflytek/src/main/java/com/mogo/tts/iflytek/IFlyTekTts.kt index 4405d45928..24c6e0bb46 100644 --- a/tts/tts-iflytek/src/main/java/com/mogo/tts/iflytek/IFlyTekTts.kt +++ b/tts/tts-iflytek/src/main/java/com/mogo/tts/iflytek/IFlyTekTts.kt @@ -306,9 +306,9 @@ class IFlyTekTts : IMogoTTS, InitListener { curTtsLevel = -1 if (curTtsEntity != null) { speakVoiceMap.remove(curTtsEntity.toString()) - ?.onSpeakError(curTtsEntity.toString(), error.message) + ?.onSpeakError(curTtsEntity.toString(), "errorCode is:${error.errorCode},errorDes is:${error.toString()}") } else { - speakVoiceMap.remove(curTtsContent)?.onSpeakError(curTtsContent, error.message) + speakVoiceMap.remove(curTtsContent)?.onSpeakError(curTtsContent, "errorCode is:${error.errorCode},errorDes is:${error.toString()}") } curTtsEntity = null curTtsContent = ""