fix: stt error handler

This commit is contained in:
jialin
2026-04-29 20:51:48 +08:00
committed by jialin
parent ab89ddffc8
commit 93bc632088
4 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ const GroundSTT: React.FC<MessageProps> = forwardRef((props, ref) => {
onError: (error) => {
setTokenResult({
error: true,
errorMessage: error
errorMessage: error?.message || _.toString(error)
});
}
});