We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b7602f6 + 26c0207 commit ddb40dcCopy full SHA for ddb40dc
src/service/AiIntergrationsService.js
@@ -9,7 +9,9 @@ export const summarizeThread = async (threadId) => {
9
10
try {
11
const resp = await axios.get(url)
12
- if (resp.status === 204) throw convertAxiosError()
+ if (resp.status === 204) {
13
+ throw new Error('Thread summary failed, error in the llm service')
14
+ }
15
return resp.data.data
16
} catch (e) {
17
throw convertAxiosError(e)
@@ -36,7 +38,9 @@ export const smartReply = async (messageId) => {
36
38
37
39
40
41
42
43
44
return resp.data
45
46
0 commit comments