Skip to content

Commit

Permalink
fix(core): 修复题库搜题时出现 Cannot convert object to primitive value 问题
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed Apr 23, 2023
1 parent 1b1e9b8 commit 9af5f3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export async function defaultAnswerWrapperHandler(
results: [],
response: undefined,
data: undefined,
error: String(error) as any
error: (error as any)?.message || '题库连接失败'
});
}
})
Expand Down

0 comments on commit 9af5f3f

Please sign in to comment.