diff --git a/virtual-patient-web/src/main/java/com/supervision/service/impl/AskServiceImpl.java b/virtual-patient-web/src/main/java/com/supervision/service/impl/AskServiceImpl.java index db3d7020..c2839540 100644 --- a/virtual-patient-web/src/main/java/com/supervision/service/impl/AskServiceImpl.java +++ b/virtual-patient-web/src/main/java/com/supervision/service/impl/AskServiceImpl.java @@ -84,6 +84,7 @@ public class AskServiceImpl implements AskService { talkVideoTtsResultResVO.setVoiceBase64(TtsUtil.ttsTransform(answer)); talkVideoTtsResultResVO.setAnswerMessage(answer); } catch (Exception e) { + log.error("Talk error", e); talkVideoTtsResultResVO.setVoiceBase64(TtsUtil.ttsTransform("I didn't hear what you were saying clearly, could you please repeat it?")); } return talkVideoTtsResultResVO;