diff --git a/ui/src/components/ai-chat/component/chat-input-operate/index.vue b/ui/src/components/ai-chat/component/chat-input-operate/index.vue index b45c31ae5..677176033 100644 --- a/ui/src/components/ai-chat/component/chat-input-operate/index.vue +++ b/ui/src/components/ai-chat/component/chat-input-operate/index.vue @@ -484,6 +484,10 @@ const uploadRecording = async (audioBlob: Blob) => { }) } }) + .catch((error) => { + recorderLoading.value = false + console.error(`${t('chat.uploadFile.errorMessage')}:`, error) + }) } catch (error) { recorderLoading.value = false console.error(`${t('chat.uploadFile.errorMessage')}:`, error)